I noticed that my .strings files are compiled in my app in plain text, with my comments and whatnot still in there.
If I inspect an app like Safari and look at the .strings files on that bundle, the file is in binary format.
Is there a way I can Xcode compile .strings in binary format on release builds?
Check out the Strings file Output Encoding build setting (
STRINGS_FILE_OUTPUT_ENCODING
). It defaults to
binary
for iOS projects and
UTF-16
for macOS ones.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"