What is the use of plist?

In the context of iPhone development, Property Lists are a key-value store that your application can use to save and retrieve persistent data. All iPhone applications have at least one of these by default, the Information Property List: The information property list is a file named Info.plist that is included with every iPhone application project … Read more

xcode info.plist build variable ${PRODUCT_NAME:rfc1034identifier} seems completely undocumented?

By using strings I also dug out the following things that look like they’re related to :rfc1034identifier: :quote – adds backslashes before whitespaces (and more), for use in shell scripts :identifier – replaces whitespace, slashes (and more) with underscores :rfc1034identifier – replaces whitespace, slashes (and more) with dashes :dir – don’t know, observed replace with … Read more

Convert JSON to .plist

I’d recommend plutil on the command line. plutil -convert xml1 in.json -o out.plist It will blow up with NULL values in dictionaries and some other inconsistencies that iOS JSON deserialization will handle more gracefully, but it does appear to work pretty well.

tech