But in Xcode 11 there is a new section inside the project's build settings called Versioning And CFBundleShortVersionString automatically changed to $ (MARKETING_VERSION). Xcode automatically handles that and I don't want to change it manually to an static number and let Xcode do it's work.
CFBundleShortVersionString ... Xcode automatically adds this key to the information property list file of appropriate projects. For frameworks, the value of this key is required to be the same as the framework name, ... (Recommended for iOS 11 and later.) The name of the asset, from the bundle's Asset Catalog, that represents the app icon. ...
Since Xcode 11 , CFBundleShortVersionString , which manages a release version number in Info.plist, is no longer a static value, but refers to $ (MARKETING_VERSION) in the Build Settings; therefore,...
CFBundleShortVersionString to $(MARKETING_VERSION) CFBundleVersion to $(CURRENT_PROJECT_VERSION) In target build settings: set Versioning System to "Apple Generic" ... Here is the script that worked for me on Xcode 11+ Just add a new Run Script Phase to your Build Phases
The issue here is that the new version of CoreSimulator.framework with Xcode 11 beta does validation on CFBundleVersion that previous versions did not do. These checks are valid, and it does represent an issue in your application, but there's also a bug in how the checks were performed in Xcode 11 Beta 1 which compounds the issue.
For what it's worth, this started happening when installing the Xcode 11 beta and running it in parallel with Xcode 10. Anyways, the magic fix is Apple have introduced a new requirement in the bundle approval process when uploading your app to iTunes Connect. Info.plist must contain the following key: CFBundleShortVersionString .
CFBundleShortVersionString is the public "name" of the version (example: "2.5", or "3.8.1"). You must increase it at each release.. CFBundleVersion is the private build number. It is not seen on the AppStore. You must increase it at each upload.It means that if you ever reject a binary before it goes online, and you want to upload a new binary, it will have the same CFBundleShortVersionString ...
How to handle $ (MARKETING_VERSION) of Xcode 11 by CI, Since Xcode 11 , CFBundleShortVersionString , which manages a release version number in Info.plist, is no longer a static value, but refers to Since Xcode 11 , CFBundleShortVersionString , which manages a release version number in Info.plist, is no longer a static value, but refers to $ (MARKETING_VERSION) in the Build Settings; therefore…
How to get simulator working 10.3.2 Xcode 11.2. surplus12 11 months ago. I am running macOS Catalina. I am testing with the contact_Delphi sample app. Test and works fine on android device connected to PC. I added a steTest iOS 10.3 simulator in Xcode and selected that in Delphi. ...
Even then, Xcode seems to wait for all child processes of the custom script to exit before continuing. However, the strange thing is this does work properly for me after a clean build (the plist file is properly modified because the custom script completes after the Process /path/to/Info.plist command has run. But when trivially rebuilding (e.g. hitting Cmd-B without modifying any source files ...