Re: Proprocessing Info.plist files for iPhone Apps
Re: Proprocessing Info.plist files for iPhone Apps
- Subject: Re: Proprocessing Info.plist files for iPhone Apps
- From: Jeff Kelley <email@hidden>
- Date: Tue, 19 Oct 2010 16:48:25 -0400
To follow up on this, I decided eventually to just create two different Info.plist files, and select which one to use based on the active target’s build settings.
On Oct 11, 2010, at 10:36 AM, Jeff Kelley wrote: We have an app for which we need to change some settings in the Info.plist file based on the currently-selected build configuration. I’ve tried going into the build settings (for both the target and the project) to get it preprocessed, but to no avail. I’m selecting “Preprocess Info.plist” and providing a definition in “Info.plist Preprocessor Definitions,” but the definition is never expanded in my Info.plist file. Is this supported and, if so, how does one go about actually getting the preprocessor definition expanded in the Info.plist file?
If it matters, I’m trying to define separate code signing paths: different build configurations have different bundle identifiers. I tried defining APPDOMAIN, then in my Info.plist:
<key>CFBundleIdentifier</key> <string>APPDOMAIN.${PRODUCT_NAME:rfc1034identifier}</string>
Thanks in advance for any help.
|
_______________________________________________
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