简体   繁体   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?

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.

相关问题 仪器自动化命令在终端中执行两次时不起作用。 我正在使用xcode 6.1.1 - instruments automation command not working , when executed twice in terminal. i am using xcode 6.1.1 Xcode 6:如何设置自定义包标识符? - Xcode 6: how to set a custom bundle identifier? 如何更改xcode中的包标识符 - How to change the bundle identifier in xcode 如何在没有 XCode 的情况下找到 iOS 产品包标识符? - How do I find the iOS Product Bundle Identifier without XCode? 当我在viewcontroller上使用3视图时,它在目标c中变慢 - when i am using 3 view on viewcontroller it get slow in objective c 使用带有Xcode 4.2的Objective-C ARC时,如何防止对象被释放? - How can I keep objects from being released when using Objective-C ARC with Xcode 4.2? 当我在Xcode中将Compile Source更改为Objective-C时,外部库中的错误 - Errors in external libraries when I change Compile Source As Objective-C in Xcode 可以在Xcode中使用旧的包标识符吗? - can I use an old bundle identifier in Xcode? Objective-C / XCode:我要描述什么类实例? - Objective-C/XCode: What class instantiation am I describing? 如何在Xcode中更改$(PRODUCT_BUNDLE_IDENTIFIER)? - How to change $(PRODUCT_BUNDLE_IDENTIFIER) in Xcode?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM