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: James Walker <email@hidden>
- Date: Tue, 12 Oct 2010 12:48:10 -0700
On 10/12/2010 11:29 AM, Dave Carrigan wrote:
On Oct 11, 2010, at 7: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.
You should be using $APPDOMAIN, not just APPDOMAIN.
That would be if he were using the "Expand Build Settings in Info.plist
File" setting, rather than the "Preprocess Info.plist File" setting.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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