• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Proprocessing Info.plist files for iPhone Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Jeff Kelley

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.


Jeff Kelley


 _______________________________________________
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

References: 
 >Proprocessing Info.plist files for iPhone Apps (From: Jeff Kelley <email@hidden>)

  • Prev by Date: Re: Why does Xcode always embed the provisioning profile in iOS apps?
  • Next by Date: RE: -mmacosx-version-min=10.5 and nm, strings, otool, et al
  • Previous by thread: Re: Proprocessing Info.plist files for iPhone Apps
  • Next by thread: Re: Assertion failed: (cls), function getName: what is this?
  • Index(es):
    • Date
    • Thread