diff --git a/docs/platforms/apple/guides/ios/size-analysis/insights.mdx b/docs/platforms/apple/guides/ios/size-analysis/insights.mdx index 96f3192b85e0a1..8f372a54f3a5e1 100644 --- a/docs/platforms/apple/guides/ios/size-analysis/insights.mdx +++ b/docs/platforms/apple/guides/ios/size-analysis/insights.mdx @@ -234,11 +234,11 @@ Update the Info.plist alternate icon entry to point at the new `.heic` file. #### Option 1: Keep the format lean -- Encode localized strings as plain text (`"key" = "value";`), not binary plists. Set **Strings File Output Encoding** (`STRINGS_FILE_OUTPUT_ENCODING`) to **UTF-8** in Xcode. +- Use the newer [String Catalog](https://developer.apple.com/documentation/xcode/localizing-and-varying-text-with-a-string-catalog) to store strings in a more efficient format. Ensure STRINGS_FILE_OUTPUT_ENCODING is set to bplist to get an efficient encoding that automatically strips whitespace and comments. #### Option 2: Strip comments automatically -String files can have comments that ship with the bundle. They help during translation but take space in production. A typical comment may look like: +If strings are encoded as text, these files can have extra comments and whitespace that ship with the bundle. They help during translation but take space in production. A typical comment may look like: ```text /* Title for the expired code alert. */