繁体   English   中英

当我在 C-Objective 中使用外部图表时,如何在 Xcode 6.1.1 中正确设置 Bundle Identifier?

[英]How to set Bundle Identifier correctly in Xcode 6.1.1 when I am using external charts in C-Objective?

我有一个在 Xcode 6.1.1 中制作的 iPad 应用程序,其中我在 C-Objective 中使用外部图表。 在我设置 Bundle Identifier 之前,一切都运行良好。

如果我想在模拟器中测试它(没有错误),我需要为我的所有部件设置捆绑标识符,例如:

Main part...com.Project
Other part...com.Project.SomePart
Chart....com.Project.Chart

等等。

但是在这种情况下,如果我想使用此设置将其存档(用于 iTunes 注册目的),则会出现错误:

*"The provisioning profile specified in your build settings (“PROFILE”) has an AppID of “com.Project” which does not match your bundle identifier “com.Project.Chart”.  Xcode can resolve this issue by downloading a new provisioning profile from the Member Center."*

这个错误消失了,当我像这样设置我的 Bundle 标识符时,我可以自由地存档:

Main part...com.Project
Other part...com.Project.SomePart
**Chart....com.Project**

等等。

但在这种情况下,由于错误错误,我无法在模拟器中对其进行测试:

*An error was encountered while running (Domain = LaunchServicesError, Code = 0)*

我发现这是因为前缀。

如果我想在 iTunes 上让我的应用程序在线,我应该如何继续? 关键是我不能在存档(以及验证和提交)采用的配置中测试它吗?

Bundle ID的正确设置是通常的Bundle ID前缀和后缀带点的设置

BundleID.后缀

问题是,在我的开发者帐户中,我错误地创建了 Explicit App ID,并且由于我使用的框架,它被认为是 Wildcard App ID。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM