2014-10-28 102 views
0

我有一个通配符捆绑ID通配符捆绑ID错误的Xcode

com.chatAt*

,我很为我的Xcode项目设置捆绑标识符。不过,我得到一个错误

(null): error: CFBundleIdentifier 'com.chatAt*' contains illegal character '*'

苹果网站上寻找东西后,它指出

you need to replace the asterisk with an appropriate string using the reverse-DNS format

,我不知道究竟是通过“反向DNS”格式的意思。有人能够帮助吗?在此先感谢

+0

变化“com.chatAt *”来com.chatAt.yourAppName – hariszaman 2014-10-28 22:54:07

+0

如果该应用的名字是从我的iTunes连接的应用程序名称 – RodMatveev 2014-10-28 22:59:05

回答

0

反向DNS格式只是一个域名,倒退。例如,com.stackoverflow。为了避免名称冲突,捆绑ID通常具有反向DNS名称+应用程序名称的格式,其中反向DNS名称是您控制的域名逆序形式。例如,“MyApp”的包ID可能为com.example.MyApp

+0

我改成了com.chatAt .chatAt,但经过验证,我得到错误'没有CFBundleIdentifier的com.chatAt.chatAt存在的软件'。我在iTunes Connect上的应用程序的应用程序ID为com.chat *。 – RodMatveev 2014-10-28 23:46:25

+0

你不应该为appstore使用通配符应用程序ID – hariszaman 2014-10-29 11:30:17

-1
  1. 确保您要运行的设备添加到预置简档com.chatAt *
  2. 检查认证文件符合您的provisioning profile。
  3. 为com.chatAt *和证书下载配置文件。
  4. 将应用的BundleID设置为com.chatAt.ChatAtSomething。
  5. 在Xcode中设置相同的供应配置文件和证书
+0

所有这些答案都预先假定了有关在xcode中设置这些位置的先验知识。对于那些刚接触xcode的人来说,这个答案假设太多了。 – 2015-06-09 17:06:53