Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle Version not replaced on iOS in Azure Devops Pipeline #305

Open
jtorvald opened this issue Jun 2, 2022 · 0 comments
Open

Bundle Version not replaced on iOS in Azure Devops Pipeline #305

jtorvald opened this issue Jun 2, 2022 · 0 comments

Comments

@jtorvald
Copy link
Contributor

jtorvald commented Jun 2, 2022

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:
<AutomaticVersionBehavior>PreferBuildNumber</AutomaticVersionBehavior>

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant