Re: How do I include a URL in a preprocessed Info.plist?

2008-12-29 Thread Isaac Wankerl
On Sat, Dec 27, 2008 at 6: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 pars

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-28 Thread Graham Cox
On 28 Dec 2008, at 11:35 pm, Michael Nickerson wrote: I know you found a way to do this that works for you, but I just wanted to point out that you can also just put it into the InfoPlist.strings file(s) and it'll work just fine (and, in the case of Sparkle, allows you to have different UR

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-28 Thread Michael Nickerson
On Dec 27, 2008, at 7:37 PM, Graham Cox wrote: 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 Phill

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-27 Thread Graham Cox
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: "To work around this feature of the C preprocessor, we can pass the - traditional flag to t

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-27 Thread Gregory Weston
Graham Cox wrote: On 27 Dec 2008, at 11:27 pm, Andrew Farmer wrote: Does your URL have an ampersand (&) in it? If so, try escaping it as "&". No it doesn't - it's just a very straightforward URL like http:// mysite.com/path/to/stuff.xml (I also tried quoting the string which makes no diff

RE: How do I include a URL in a preprocessed Info.plist?

2008-12-27 Thread Philippe.Casgrain
ist Subject: Re: How do I include a URL in a preprocessed Info.plist? On 27 Dec 2008, at 11:27 pm, Andrew Farmer wrote: > Does your URL have an ampersand (&) in it? If so, try escaping it as > "&". No it doesn't - it's just a very straightforward URL like http

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-27 Thread James W. Walker
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 err

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-27 Thread Graham Cox
On 27 Dec 2008, at 11:27 pm, Andrew Farmer wrote: Does your URL have an ampersand (&) in it? If so, try escaping it as "&". No it doesn't - it's just a very straightforward URL like http://mysite.com/path/to/stuff.xml (I also tried quoting the string which makes no difference) --Graham

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-27 Thread Andrew Farmer
On 27 Dec 08, at 04:22, 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). If