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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to