• 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: Macros in Info.plist for single-file tools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macros in Info.plist for single-file tools


  • Subject: Re: Macros in Info.plist for single-file tools
  • From: David Dunham <email@hidden>
  • Date: Tue, 08 Sep 2009 14:57:15 -0700


On 8 Sep 2009, at 13:43, Sidney San Martín wrote:

I'm including an Info.plist in a single-file tool as described in <http://developer.apple.com/mac/library/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4-DontLinkElementID_6 >. The process is mostly working, but macros aren't expanded. So, for instance, if I get info on the compiled tool, I see:

"Version: ${CURRENT_PROJECT_VERSION}, Copyright 2009 Company, Inc."

I made sure that the filename of Info.plist was set in build settings and that "Expand Build Settings in Info.plist File" was checked, but that didn't make a difference (even after a clean build). What can I do to get Xcode to process it?


I have

INFOPLIST_PREPROCESS = YES
INFOPLIST_EXPAND_BUILD_SETTINGS = YES

set in my target.

Also, cleaning is not enough to force a plist rebuild -- try removing Xcode caches.

David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.

_______________________________________________
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


  • Follow-Ups:
    • Re: Macros in Info.plist for single-file tools
      • From: Thierry Faucounau <email@hidden>
    • Re: Macros in Info.plist for single-file tools
      • From: Chris Espinosa <email@hidden>
References: 
 >Macros in Info.plist for single-file tools (From: Sidney San Martín <email@hidden>)

  • Prev by Date: Macros in Info.plist for single-file tools
  • Next by Date: Re: Macros in Info.plist for single-file tools
  • Previous by thread: Macros in Info.plist for single-file tools
  • Next by thread: Re: Macros in Info.plist for single-file tools
  • Index(es):
    • Date
    • Thread