Re: Macros in Info.plist for single-file tools
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