使用R.swift检查各种string文件的问题

使用R.swift检查各种string文件的问题

========================
[R.swift] Skipping 2 strings in ‘Localizable’ (en) because symbol ‘bottle’ would be generated for all of these keys: bottle, bottle
这个错误主要是因为你在.strings文件中有两个相同的键值对,或者两个相同的键。

1
2
"bottle " = "Langyao Straight-mouth Bottle";
"bottle " = "Langyao Straight-mouth Bottle";
1
2
"bottle " = "Bottle";
"bottle " = "Langyao Straight-mouth Bottle";

这么说起来,可以用R.swift检查各种string文件的问题,缺失,重复等问题它都会报警告。