taskgated: killed app because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed

主宰稳场 提交于 2019-12-11 04:58:53

问题


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 here Turning 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.


回答1:


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 :(




回答2:


I was able to make this work by going into the provisioning portal, disabling iCloud on my wildcard App ID, going back to Xcode, and refreshing the provisioning profiles list.



来源:https://stackoverflow.com/questions/8812747/taskgated-killed-app-because-its-use-of-the-com-apple-developer-ubiquity-contai

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!