• 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: How do I include a URL in a preprocessed Info.plist?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How do I include a URL in a preprocessed Info.plist?
      • From: Michael Nickerson <email@hidden>
References: 
 >Re: How do I include a URL in a preprocessed Info.plist? (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: Crash when NSPersistentDocument tries to present error during saveDocument:
  • Next by Date: Re: Live editing an NSTextView
  • Previous by thread: Re: How do I include a URL in a preprocessed Info.plist?
  • Next by thread: Re: How do I include a URL in a preprocessed Info.plist?
  • Index(es):
    • Date
    • Thread