dansiegel / dansiegel/Mobile.BuildTools

Bundle Version not replaced on iOS in Azure Devops Pipeline

Open
#305 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
224
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I'm using Mobile.BuildTools 2.0.245 in Azure Devops Pipeline with iOS and the Bundle Version does not get replaced with the Build Number. I've this in buildtools.json:
```
"automaticVersioning": {
"behavior": "PreferBuildNumber",
"environment": "All",
"versionOffset": 0,
"disable": false
},
```
Also added this in the .csproj:
`PreferBuildNumber`

I see this in the build log:
```
AutomaticBuildVersioning:
Executing Automatic Version Generator
Build Number: 8205
Processing Manifest
```

And still the Bundle Version is 1.0 when I check the build.

What is also interesting is that when I build Android, the setting does not have any effect. When I change to Timestamp it still uses the build number and even when I turn off buildtools automatic versioning it used the build number in the AndroidManifest.

I get the impression it just doesn't work on iOS (either bug or I missed something) and it uses some default functionality outside of Mobile.BuildTools on Azure Pipeline.

Apologies for the confusing report, but any pointers would be appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.