Re: Converting .plist during the build process
Re: Converting .plist during the build process
- Subject: Re: Converting .plist during the build process
- From: Chris Espinosa <email@hidden>
- Date: Thu, 14 May 2009 11:45:31 -0700
On May 14, 2009, at 10:53 AM, Mark Thomas wrote: I was wondering if anybody knew of a way I can convert a textual version of a .plist to the binary XML version
Binary ≠ XML, quite emphatically. Which do you want? during the Xcode build process. As I want to keep my plist in text format during development (coz of SVN/CVS, comparing over different versions) ..etc, but when I build my application I want to take advantage of a binary xml format (as being smaller).
I see there is command line 'defaults' but I don't see how I could read and write the .plist during the build process.
DON'T DO THAT.
No, really, don't.
Instead, search for "plist format" in the Xcode documentation. In the Release Notes for Xcode 3.1.2 you'll find the advanced build settings
What you want to do is set PLIST_FILE_OUTPUT_FORMAT to binary, and all plists copied in that target will be converted to binary. OK?
Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden