Bitrise Build Issue Report template
From app store, I’m getting warning mails regarding ITMS-90473.
CFBundlerVersion and CFBundleShortVersionString mismatch
Description of the issue
update-ios-version:
steps:
- set-xcode-build-number@1:
inputs:
- plist_path: $BITRISE_SOURCE_DIR/apps/mobile/ios/Myapp/Info.plist
- build_short_version_string: $VERSION_STRING
- set-xcode-build-number@1:
inputs:
- plist_path: $BITRISE_SOURCE_DIR/apps/mobile/ios/Extension/Info.plist
- build_short_version_string: $VERSION_STRING
Environment:
production
stack: osx-xcode-16.2.x
Reproducibility
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
- Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - Does the issue happen sporadically, or every time? : everytime
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : after integrating extensions
Local reproduction
NA
Local reproduction: Linux / Android (docker based) stack builds
NA
Build log
(i) Provided Info.plist path: /Users/vagrant/git/apps/mobile/ios/Extension/Info.plist
(i) Version number: 1.1.35
(i) Build number: 12275
---- Current Bundle Version:
/usr/libexec/PlistBuddy -c “Print CFBundleVersion” “${CONFIG_project_info_plist_path}”
$(CURRENT_PROJECT_VERSION)
---- Set Bundle Version:
/usr/libexec/PlistBuddy -c “Set :CFBundleVersion ${CONFIG_new_bundle_version}” “${CONFIG_project_info_plist_path}”
if [ ! -z “${CONFIG_new_build_short_version_string}” ] ; then
---- Current Bundle Short Version String:
/usr/libexec/PlistBuddy -c “Print CFBundleShortVersionString” “${CONFIG_project_info_plist_path}”
---- Set Bundle Short Version String:
/usr/libexec/PlistBuddy -c “Set :CFBundleShortVersionString ${CONFIG_new_build_short_version_string}” “${CONFIG_project_info_plist_path}”
fi
$(MARKETING_VERSION)