The following error occurred when performing iOS app archive:
/Users/enix/source/apple/AliSmartHome-iOS/AliSmartHome/fr.lproj/Localizable.strings:1:1: note: detected encoding of input file as Unicode (UTF-8) (in target 'mirror' from project 'AliSmartHomeObjc')
/Users/enix/source/apple/AliSmartHome-iOS/AliSmartHome/fr.lproj/Localizable.strings:1:1: error: validation failed: Couldn't parse property list because the input data was in an invalid format (in target 'mirror' from project 'AliSmartHomeObjc')
I had tried with iconv to convert the localized string to UTF-8 and UTF-16, but still not work.
So, my question is what file encoding format does XCode expect?
what file encoding format does Xcode expect?
This is controlled by the Text Settings pane within in the File inspector. Select the .strings file on the left and choose View > Inspectors > File.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"