Re: proprocessing info.plist files
Re: proprocessing info.plist files
- Subject: Re: proprocessing info.plist files
- From: Steve Mills <email@hidden>
- Date: Fri, 2 Dec 2005 09:23:48 -0600
I figured out what was wrong with part of the Info.plist
preprocessing. Because using $PRODUCT_NAME in my Info.plist doesn't
get substituted during preprocessing like it's supposed to, I defined
a customer variable in the target's Info.plist Preprocessor
Definitions as:
MY_PRODUCT_NAME $(PRODUCT_NAME)
PRODUCT_NAME is set to "MultiAd Creator Pro DB" in this target. Now
what I see in the build transcript is this:
/usr/bin/gcc -E -P -x c -Wno-trigraphs -DMY_PRODUCT_NAME\ MultiAd -
DCreator -DPro -DDB -DBETA_OR_DEBUG_BUILD <snip>
Something is not correctly escaping the value of PRODUCT_NAME. So
MY_PRODUCT_NAME is defined as "MultiAd", then 3 extra definitions
named "Creator", "Pro", and "DB" (which end up being defined as "1",
so every other place in my Info.plist where the string "Creator"
appears I instead see a "1"). Is this a bug or am I doing it wrong?
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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