Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Xcode implicitly convert plists's to binary format?

Tags:

xcode

plist

Does Xcode implicitly convert plists in a project to binary during the building process? I don't think it does this implicitly but having a hard time determining for sure.

like image 393
Rob Segal Avatar asked Sep 10 '12 19:09

Rob Segal


2 Answers

There is a build setting named "Property List Output Encoding" (a.k.a PLIST_FILE_OUTPUT_FORMAT) which can be used to tell Xcode to convert copied plists to a different format when performing a build. The default value is "same-as-input" though, so it shouldn't do any conversion unless you specifically change that value to something else. If you would like to have your plists converted to binary, to save space and/or load time, just change that setting to "binary" in your target's build settings in Xcode.

like image 148
Brian Webster Avatar answered Sep 22 '22 06:09

Brian Webster


For everyone who is facing the Localizable.strings binary format, here is a link helped me: link

You will find the properties under Build Settings -> Packaging section (with All option).

like image 44
Niib Fouda Avatar answered Sep 25 '22 06:09

Niib Fouda