Re: Converting .plist during the build process
Re: Converting .plist during the build process
- Subject: Re: Converting .plist during the build process
- From: Gwynne Raskind <email@hidden>
- Date: Thu, 14 May 2009 15:37:28 -0400
On May 14, 2009, at 2:28 PM, Greg Guerin wrote:
I was wondering if anybody knew of a way I can convert a textual
version
of a .plist to the binary XML version during the Xcode build process.
1. Read: man plutil
2: Add Shell script build phase contain plutil command.
In XCode 3.1 (and possibly earlier), this is done for you by Xcode
during build, as set by certain build options in your project and/or
target. Specifically, look for "Info.plist Output
Encoding" (INFOPLIST_OUTPUT_FORMAT) and "Property List Output
Encoding" (PLIST_FILE_OUTPUT_FORMAT), which are by default set to
binary (with xml and same-as-input being the other options).
-- Gwynne, Daughter of the Code
"This whole world is an asylum for the incurable."
_______________________________________________
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