Xcode fails to generate xliff localization file with error localization failed to read a strings file. Please check the system log for more details. Does anyone know where do I find these logs? It's Xcode 6.3.2 GM but I've tried the 6.3.1 version as well. With 6.3.1. the error is on specific file but inside that file isn't nothing unusual. Furthermore I've tried to remove that file but I'm getting the same error although the file isn't there anymore. Does anyone idea why?
Does anyone know where do I find these logs?
Open Console
app. And search in system.log
"strings" for example.
Does anyone idea why?
There is a several problems, that cause this error:
Localizable.strings
file.Solution: Just add comment
/** no localizable strings **/
to this file and problem is gone.
\
Solution: Remove it and figure out something with your special chars. And probably your export process will complete without errors.
P.S.
Version 6.4 (6E35b)
Well at last, I have solved that by removing all NSLocalizedString macros from code because the xliff exporter looks into code for them and based on results he looks for a strings files. The odd thing is that he scans comments too, so simply comment unwanted NSLocalizedString macros won't help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With