Re: Using defaults command to modify Info.plist changes permissions
Re: Using defaults command to modify Info.plist changes permissions
- Subject: Re: Using defaults command to modify Info.plist changes permissions
- From: Shawn Erickson <email@hidden>
- Date: Mon, 14 Sep 2009 15:03:07 -0700
One of build phase script includes the perl variant of the following terminal command to inject a build number into my info.plist
If you can get the build number into a build setting then you can access it in the Info.plist which will be preprocessed before being copied into your applications bundle. We have an xcconfig file with our build number, etc. that gets modified at the time of build as needed but before we build. You can of course pass the build setting into a build if that works better for you.
For example...
<key>CFBundleDisplayName</key>
<string>MyProduct ($(MY_BUILD_NUMBER))</string>
> xcodebuild ... build MY_BUILD_NUMBER=555
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden