无法通过xcode在pod中本地化xib

时间:2016-04-05 16:56:39

标签: ios xcode localization xib

我正在尝试通过xcode本地化xib。

当我选择xib并点击File Inspector中的localize按钮时,xcode应该为xib创建.strings文件。在我的情况下,它是创建另一个.xib文件,但不是.strings文件。

enter image description here

enter image description here

我的期望是:

enter image description here

enter image description here

注意:我可以在项目中本地化xib。但是我无法为pods目录中的xib做。

1 个答案:

答案 0 :(得分:0)

我需要检查xcode中Localization选项下面的Use Base Internalization选项。

enter image description here