在 Xcode 中打开权利会阻止 Bare Bones 应用程序启动
我在 Xcode 4.2 中创建了一个基本应用程序。非常简单的应用程序,我没有改变任何东西。按下运行,您将获得标准的基本应用程序窗口。如果我打开目标的权利并点击运行,我不会收到任何调试器错误,但窗口永远不会出现。我使用 Console.app 检查日志并得到以下信息:
我得到的第一个错误:
taskgated: killed com.alsbury.EntitlementsTest[pid 15903] because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed
删除 iCloud 容器“com.alsbury.EntitlementsTest”后,我收到此错误:
taskgated: killed com.alsbury.EntitlementsTest[pid 15903] because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed
由于 iCloud 类型的内容,我什至向我的开发人员添加了一个应用程序帐户、配置文件并添加我的机器。有什么想法吗?现在很困惑。
I created a basic application in Xcode 4.2. Very simple application, I have not changed a single thing. Push run, and you get the standard base application window. If I turn entitlements on for my target and hit run, I don't get any debugger errors, but the window never comes up. I checked the logs with Console.app and got the following:
First error I get:
taskgated: killed com.alsbury.EntitlementsTest[pid 15903] because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed
After removing the iCloud Containers "com.alsbury.EntitlementsTest" I get this error:
taskgated: killed com.alsbury.EntitlementsTest[pid 15903] because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed
Because of the iCloud type stuff, I even added an Application to my developer account, a provisioning profile and added my machine. Any thoughts? Very confused right now.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保几件事。不幸的是,这是一个乏味的过程,但如果您仔细按照步骤操作,您应该已准备就绪。
1) 在 Apple 网站的开发者证书实用程序页面中,您可以注册您的计算机及其 UUID。
2) 您已创建并下载了开发证书。
3) 您的应用程序 ID(在同一实用程序中)已针对 iCloud 配置。这通常只需要您选中一个复选框。
4) 您的应用程序的开发配置文件指向(3)中提到的App ID,以及(1)中注册的硬件系统strong>,以及 (2)
5) 中提到的证书 下载新的配置文件后,双击将其安装在系统中,并在 Xcode 中安装将其拖到您的“配置配置文件”窗格中 组织者。
6) 在应用程序的构建设置中,确保代码签名身份指向您的新配置文件。
Make sure of a few things. It's unfortunately a tedious process, but if you follow the steps carefully, you should be all set.
1) In the Developer Certificate Utility page on Apple's site, you have your machine registered along with its UUID.
2) You've created and downloaded a development certificate.
3) Your App ID (in the same utility) is configured for iCloud. This generally just involves you checking a checkbox.
4) Your development provisioning profile for your application is pointing to the App ID mentioned in (3), and also the hardware system registered in (1), and also the certificate mentioned in (2)
5) After downloading the new provisioning profile, install it both in the system by double-clicking it, and in Xcode by dragging it to the "Provisioning Profiles" pane in your Organizer.
6) In the Build Settings for your application, make sure that the Code Signing Identity is pointing to your new provisioning profile.