Proprocessing Info.plist files for iPhone Apps
Proprocessing Info.plist files for iPhone Apps
- Subject: Proprocessing Info.plist files for iPhone Apps
- From: Jeff Kelley <email@hidden>
- Date: Mon, 11 Oct 2010 10:36:42 -0400
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