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

UpdateiOSVersionInfoPlist doesn't change values when using vmImage: 'macOS-12' #16

Open
jamestroutman opened this issue Aug 22, 2022 · 1 comment

Comments

@jamestroutman
Copy link

using task UpdateiOSVersionInfoPlist has worked great since the first day we installed it, however when we were forced to upgrade to Xcode to 13.4.1 in Azure Devops (using vmImage: 'macOS-12') and the Plist transform stopped working, doesn't seem like the tasks really dumps much output so I'm not sure whats up.

Thanks for your help!

Pipeline
...
pool:
vmImage: 'macOS-12'
steps:
- task: ExtractVersionFromTag@1
inputs:
projectFolderPath: '$(Build.SourcesDirectory)/ios/XXX'
- task: UpdateiOSVersionInfoPlist@1
inputs:
infoPlistPath: '$(Build.SourcesDirectory)/ios/XXX/Info.plist'
bundleShortVersionString: '$(MAJOR).$(MINOR).$(PATCH)'
bundleVersion: '$(NUMBER_OF_COMMITS)'

Output -

Starting: ExtractVersionFromTag

Task : Extract Version
Description : Extract the version from the git tag.
Version : 1.5.0
Author : Damien Aicheh
Help :

/usr/local/bin/git describe --tags --abbrev=0
v5.0.1
/usr/local/bin/git rev-list --count HEAD
1155
/usr/local/bin/git rev-list v5.0.1..HEAD --count
432
Finishing: ExtractVersionFromTag

Starting: UpdateiOSVersionInfoPlist

Task : Update iOS version Info.plist
Description : Update iOS version Info.plist
Version : 1.2.0
Author : Damien Aicheh
Help :

Finishing: UpdateiOSVersionInfoPlist

@abrull
Copy link

abrull commented Mar 29, 2023

@jamestroutman Hey. Did you find a solution for this?

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

2 participants