ios - 应用目标名称中的非 ASCII 字符

标签 ios xcode cocoa

我的应用程序目标名称是美图小报告,但包标识符设置为 net.phor._____

我无法编辑包标识符。我的应用程序仅适用于中文。如何正确设置包 ID?

enter image description here

最佳答案

Bundle ID 不应根据 CFBundleIdentifier Documentation 进行本地化:

The bundle ID string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters. The string should also be in reverse-DNS format.

所以 Xcode 阻止了这种情况。

关于ios - 应用目标名称中的非 ASCII 字符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23328807/

相关文章:

ios - Appcelerator 在 “Launching iOS Simulator” 上无限期挂起

Swift 包管理器和 Xcode : Retaining Xcode Settings?

ios - Xcode 记录 UI 测试 - 如何删除 XCTestCase 自动生成的代码下拉菜单

cocoa - 如何判断在 Dock 上放置过程中是否按下了修饰键

objective-c - 是否能够重写 NSObject init 方法以将每个对象添加到单个 NSMutableArray 中?

ios - NSNotificationCenter 帮助?

iphone - 在突出显示时更改 UITableView cell.detailTextLabel 颜色

iphone - 使 UITextView 可滚动

objective-c - 禁用 WebView 中的拖动

ios - 从 xml 预加载数据, TableView 不会重新加载