Re: How do I include a URL in a preprocessed Info.plist?
Re: How do I include a URL in a preprocessed Info.plist?
- Subject: Re: How do I include a URL in a preprocessed Info.plist?
- From: Graham Cox <email@hidden>
- Date: Sun, 28 Dec 2008 11:37:41 +1100
On 28 Dec 2008, at 6:41 am, Gregory Weston wrote:
In a fit of optimism, entered the terms Info.plist and preprocess in
Google and found this:
<http://developer.apple.com/technotes/tn2007/tn2175.html>
"To work around this feature of the C preprocessor, we can pass the -
traditional flag to the Info.plist Other Preprocessor Flags build
setting in Xcode. This will cause the preprocessor to use the
traditional ANSI C /* and */ character strings as tokens to
recognize and discard text as comments."
Ah ;-) The lesson here may be to use Google and not waste time on
Apple's internal search...
Anyway, that's useful info, at least it explains what I'm seeing. I
worked around it in a different way in the end - I added a user-
defined setting for my URL then just used ${MY_URL} in the plist. That
worked fine - this is similar to Phillipe's suggestion.
Thanks to all who helped,
cheers, Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden