When using localizable.strings with many entries in an Xcode project, sooner or later you can use the key more than once. Can Xcode find this case and issue a warning about it?
Apple Resource Programming mentions the genstrings tool, but usually you don't use it yourself in Xcode. So, how can I let Xcode detect duplicate keys in such files without manually starting genstrings?
Note: thanks: in order to earn bonuses, the solution must be fully integrated with Xcode if it uses external resources, such as scripts, that is, it must work with the input files specified in Xcode in the case of duplicates and should not cause false positives, such like empty lines or comments.
source share