HANDLE $MARKETING_VESION IN XCODE 11


  1.  What is MARKETING_VERSION?

Since Xcode 11, CFBundleShortVersionString which manages a release version number in Info.plist is no longer a static value. It refers to $(MARKETING_VERSION) in the Build Settings. So that the version changes in the Identity section on the General section tab, it will also change $(MARKETING_VERSION)

  1.  Does $MARKETING_VESION affect the source code that supports getting the version?

This change has no effect on the current source code, example:

This code still works, so don’t worry about that change.

  1. Does it have an issue?

The answer is YES. if you are using a CI tool for your project please read the link below for solution

https://medium.com/flawless-app-stories/how-to-handle-marketing-version-of-xcode-11-by-ci-db64a0ac71b9


Comments