[英]How to set Bundle Identifier correctly in Xcode 6.1.1 when I am using external charts in C-Objective?
I have an iPad application made in Xcode 6.1.1 in which I am using external chart in C-Objective.我有一个在 Xcode 6.1.1 中制作的 iPad 应用程序,其中我在 C-Objective 中使用外部图表。 Everything is working perfectly until I set up Bundle Identifier.
在我设置 Bundle Identifier 之前,一切都运行良好。
If I want to test it (without error) in simulator I need to have Bundle identifiers to all my parts set like:如果我想在模拟器中测试它(没有错误),我需要为我的所有部件设置捆绑标识符,例如:
Main part...com.Project
Other part...com.Project.SomePart
Chart....com.Project.Chart
Etc.等等。
But in this case if I want to Archive it (for ITunes registering purposes) with this set up there is error:但是在这种情况下,如果我想使用此设置将其存档(用于 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."*
This error disappear and I am free to archive when a set up my Bundle identifiers like this:这个错误消失了,当我像这样设置我的 Bundle 标识符时,我可以自由地存档:
Main part...com.Project
Other part...com.Project.SomePart
**Chart....com.Project**
Etc.等等。
But in this case I can't test it in simulator because of error error:但在这种情况下,由于错误错误,我无法在模拟器中对其进行测试:
*An error was encountered while running (Domain = LaunchServicesError, Code = 0)*
Which I found out is because of prefixes.我发现这是因为前缀。
How should I continue if I want to get my app online at iTunes?如果我想在 iTunes 上让我的应用程序在线,我应该如何继续? Is it key that I can't test it in that configuration which Archive(and validation and submitting) takes?
关键是我不能在存档(以及验证和提交)采用的配置中测试它吗?
Correct setting of Bundle ID is the usual one with prefix of Bundle ID and with the sufix with dot Bundle ID的正确设置是通常的Bundle ID前缀和后缀带点的设置
BundleID.sufix BundleID.后缀
The problem was that at my developer account I wrongly created Explicit App ID and it was suppose to be Wildcard App ID because of framework I used.问题是,在我的开发者帐户中,我错误地创建了 Explicit App ID,并且由于我使用的框架,它被认为是 Wildcard App ID。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.