On Sat, Dec 27, 2008 at 6:22 AM, Graham Cox <graham....@bigpond.com> 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 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. > > How do I do this? > > thanks, Graham > Here's how I do it... My build settings have "Expand build settings in info.plist file" and "Preprocess info.plist file" turned on. Then in my Info.plist file I have <key>SUFeedURL</key> <string>http://www.kerlmax.com/foo</string> Note that you have to escape one of the slashes in http:// for the parsing to work. Isaac Kerlmax LLC http://www.kerlmax.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com