Xcode Cloud – How to check App Version (MARKETING_VERSION) from ci_post_xcodebuild.sh

Check App Version using xcodebuild

Update ci_scripts/ci_post_xcodebuild.sh

CURRENT_PROJECT_VERSION=$(xcodebuild -project $CI_PROJECT_FILE_PATH -showBuildSettings | grep "MARKETING_VERSION" | sed 's/[ ]*MARKETING_VERSION = //')

echo "🐥 App Version is $CURRENT_PROJECT_VERSION"

704cb df295 screenshot2023 08 19at5.14.25pm

Discover more from Shawn

Subscribe now to keep reading and get access to the full archive.

Continue reading