Skip to main content

Missing CFBundleVersion during XCode Generate info plist

Issue:

While running the Set XCode Build Number Step, PlistBuddy fails to print the CFBundleVersion. Resulting to this error in the logs:

Print: Entry, "CFBundleVersion", Does Not Exist

Solution:

You can create a new custom Script Step with the following content, and it should accomplish this:

xcrun agvtool new-version -all "${BITRISE_BUILD_NUMBER}"

Did this answer your question?