无效字符' _'在Bundle Identifier中

时间:2014-02-28 15:00:57

标签: xcode bundle suppress-warnings

建立警告:

invalid character '_' in Bundle Identifier at column 17. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.

在构建我们无法修改的第三方框架时会发生此警告。有没有办法让Xcode(5.0.2)抑制警告?

注意:此应用不会进入App Store。

谢谢!

1 个答案:

答案 0 :(得分:2)

plist中存在的Bundle Identifier应仅包含字母数字(A-Z,a-z,0-9),hypen( - )和句点(。)字符。您不能添加指定以外的字符。因此,提示警告。

Screenshot 0 Screenshot 1 现在,从Bundle Identifier中删除下划线(_)字符以禁止警告。

相关问题