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

MARKETING_VERSION support for Xcode 11 #7

Open
wowo-apps opened this issue Oct 14, 2019 · 1 comment
Open

MARKETING_VERSION support for Xcode 11 #7

wowo-apps opened this issue Oct 14, 2019 · 1 comment

Comments

@wowo-apps
Copy link

When using Xcode 11 or newer on Bitrise, can't parse CFBundleShortVersionString, because Xcode using $(MARKETING_VERSION) from Build Settings.

$(MARKETING_VERSION) should be updated instead of CFBundleShortVersionString in Info.plist for Xcode 11 or newer.

+------------------------------------------------------------------------------+
| id: set-ios-version                                                          |
| version: 2.0.0                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: bash                                                                |
| time: 2019-10-11T15:50:03Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
 [!] No Bundle Short Version String (bundle_version_short) specified!
 (i) Provided Info.plist file path: (...)/Info.plist
 (i) Provided Bundle Version: 30
 (i) Provided Bundle Short Version String: 
 (i) Provided append version: false


 (i) Replacing version...
 (i) Original Bundle Version: 1
 (i) Original Bundle Short Version String: $(MARKETING_VERSION)
 (i) Replaced Bundle Version: 30
 (i) Replaced Bundle Short Version String: $(MARKETING_VERSION)
|                                                                              |
+---+---------------------------------------------------------------+----------+
@wowo-apps
Copy link
Author

MARKETING_VERSION has separate values in Build Settings for Debug and Release

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