• 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: "James W. Walker" <email@hidden>
  • Date: Sat, 27 Dec 2008 09:04:01 -0500


On Dec 27, 2008, at 7:22 AM, Graham Cox wrote:

I'm preprocessing my info.plist file so I can automatically update it with version number, etc.

I want to include a URL in my plist (to support Sparkle) but Xcode won't let me. If I include the URL directly, it causes an error (xml parse error).

I don't know why that would be. Can you show us some of the Info.plist containing the URL?


If I define a substitution for it in my plist preprocessing settings, I get no error, but only 'http:' is copied, and the rest of the URL is stripped.

I suspect you're being affected by the fact that // is a comment delimiter in .xcconfig files. In a similar situation, I had to define a build setting SLASH to be a single slash, and then say $SLASH$SLASH in the URL.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >How do I include a URL in a preprocessed Info.plist? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSSpeechRecognizer and Speech Recognition calibration
  • Next by Date: RE: How do I include a URL in a preprocessed Info.plist?
  • 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