Thanks a lot for everyone's insights and suggestions! For the record:
I have now shed a bit of old baggage in my code. (I did the version management and the build number incrementing too cumbersome; I must have picked up the CFBuildNumber somewhere 14 years ago ...) Anyways, I am now using the CFBundleVersion for the build number (1, 2, 3, ...) and the CFBundleShortVersionString for the human-readable version number (3.1.2). I am using essentially these lines in my shell script: buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" $plist) buildNumber=$(($buildNumber + 1)) /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" $plist which gets executed by Xcode in a "Run Script" phase before the "Compile" phase. Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com