manage multiple targets bundle version - fancyfsz/FancyWiki GitHub Wiki
Warning: The CFBundleVersion of an app extension must match that of its containing parent app
Solution:
agvtool new-version -all "$your-new-version-number"
agvtool new-marketing-version "$your-new-marketing-version-number"
sed -i '' "s/MARKETING_VERSION = [^;]*;/MARKETING_VERSION = $your-new-marketing-version-number;/g" "$your-pbxproj-path"