The data couldn’t be read because it has been corrupted

If you get this error: “validation failed: The data couldn’t be read because it has been corrupted.” that means there needs to be a semicolon at the end of each line in your InfoPlist.strings file.

*.strings時,如果出現這個錯誤,就需要檢查strings文件中,數據是否每行都以分號結束.

數據的key-value是否爲格式 "key" = "value";

不能有數據在引號以外.

發佈了30 篇原創文章 · 獲贊 6 · 訪問量 11萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章