Error while “Export For Localization..” Xcode 6.3

后端 未结 6 1727
自闭症患者
自闭症患者 2020-12-14 17:57

I want to add some new languages to my projects but after clicking Editor -> Export For Localization -> Save, I get the following error:

         


        
6条回答
  •  旧巷少年郎
    2020-12-14 18:20

    The issue seems to be in Xcode 6.3, that the XLIFF parser suddenly chokes on unescaped quotes ('). A solution seems to be to escape (with a backslash) all instances of quotes in your source code, e.g replace @"Foobar's" with @"Foobar\'s".

提交回复
热议问题