[iOS] How to Fix Build Error After Editing Localizable.strings: "validation failed: The data couldn't be read because it has been corrupted."

Tadashi Shigeoka ·  Thu, May 9, 2013

During iOS app development, I encountered a build error after editing Localizable.strings.

Error Message validation failed: The data couldn't be read because it has been corrupted.

The cause was missing semicolons ; at the end of lines.

"Loading..." = "Loading..."

↓ (Fixed)

"Loading..." = "Loading...";

Although it’s a basic mistake, I was puzzled for a while since the error wasn’t apparent until building.

[Reference]

Localizable.strings編集後に起こるビルドエラー「validation failed: The data couldn’t be read because it has been corrupted.」 - 甘いものが好きです

That’s all from the Gemba.