本文介绍了taskgated:被终止的应用程序,因为不允许使用com.apple.developer.ubiquity-container-identifiers权利的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,创建一个普通项目,构建并创建一个新项目.运行...应用未出现.打开控制台:

"1/10/12 6:32:29.967 PM被分配任务:杀死了com.myapp.TEST [pid 28092],因为不允许使用com.apple.developer.ubiquity-container-identifiers权利". >

与这里几乎相同的问题在Xcode中启用权利会阻止Bare Bones应用程序从启动

在这里. Mac应用程序崩溃(由于权利而被杀死),无论如何权利是否启用

我没有使用iCloud.实际上,我什至没有更改默认项目.有解决方案或想法吗?感谢任何克服了这一点的人.

解决方案

从文档甚至可以看出,它自动创建和更新的XCode默认配置配置文件"还包含iCloud权限.由于这些权限是特定于应用程序的,因此大概会破坏使用默认xcode配置文件的每个应用程序.

我不确定为什么这不是一种流行病,但是就我而言,这意味着除了使用"XCode通配符应用程序ID"之外,我还必须创建一个没有iCloud的新基本通配符应用程序ID".使用它并创建一个新的配置文件,将其添加等,就可以了.这意味着我不能再让XCode处理配置文件了:(

So, create a vanilla project, build & run... App does not appear. Open console:

"1/10/12 6:32:29.967 PM taskgated: killed com.myapp.TEST[pid 28092] because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed"

Pretty much the same question as hereTurning Entitlements on in Xcode Prevents Bare Bones App From Launching

And here.Mac application crashes (killed due to entitlements) regardless of whether entitlements are enabled

I am not using iCloud. In fact I haven't even changed the default project. Any solutions or ideas? Thanks to anyone who has overcome this.

解决方案

It turns out, from the docs even, that the XCode "default provisioning profile" which it automatically creates and updates ALSO includes iCloud permissions. Since those permissions are app specific, presumably this breaks every app using the default xcode profile.

I'm not sure why this isn't an epidemic, but in my case it meant that instead of using the "XCode wildcard app id", I had to create a new "basic wildcard app id" without iCloud. Using this and creating a new provisioning profile, adding it, etc, worked. It means I can't let XCode handle the profiles anymore :(

这篇关于taskgated:被终止的应用程序,因为不允许使用com.apple.developer.ubiquity-container-identifiers权利的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 14:47