Thanks a lot for the insights. > On 19. Aug 2020, at 18:44, Glenn L. Austin <gl...@austinsoft.com> wrote: > > No, you can't use an "earlier" key to create a "later" value - but you can > use code to do basically the same thing. > > Or, you can use the same variable that sets your CFBuildNumber to set your > CFBundleVersion. >
I tried this: plutil -replace CFBundleVersion -string '$(CURRENT_PROJECT_VERSION) 111' qq.plist which works -- but what I need to do is something like this: plutil -replace CFBundleVersion -string "\$(CURRENT_PROJECT_VERSION) $build_number" qq.plist (where $build_number is a variable in my shell script). Problem: I get the error message "Illegal variable name." (I am not even sure whether it is a shell euro message or from plutil...) I tried more variations, like plutil -replace CFBundleVersion -string "\\$\(CURRENT_PROJECT_VERSION\) 111" qq.plist all to no avail ...
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