iCloud and correct provisioning profile usage

久未见 提交于 2019-12-06 06:22:46

You seem like you figured out most of it:

  • iCloud support is only available for applications shipping from the App store.
  • You cannot use the Production provisioning profile to run executables on your development machine. This is only for use via the Mac App Store.
  • Your Release target probably signs with your "3rd Party Mac Developer Application (Mac App)" certificate. This is required for building the Archive you send to the app store, but you cannot run the application locally. Instead, you should switch the signature to your "Developer" certificate for running a local release build, and switch back to "3rd Party Mac Developer Application (Mac App)" to archive for release.

First, I didn't read you entire question (it's really, really long). I read the part about the profile installation and yes it is correct that your production profile should not be installable on your machine. Development profiles allow the app to run on specific machines for testing, distributions profiles are for shipping the app.

As far as your issue with getting killed by taskgated you need to delete your app container. Go to ~/Library/Containers/ and delete the folder that has your app's bundle ID. Any time you have issues like this with your app just delete the container again (it's the new delete the build folder fix).

I ran into the same issue, namely by signing the app using the Production Provisioning profile I am not able to run the application. I get:

12/31/11 5:24:31.024 PM taskgated: killed com.agprojects.Blink[pid 25863] because its use of the com.apple.developer.ubiquity-kvstore-identifier entitlement is not allowed

The application is not sandboxed and there is nothing in ~/Library/Containers/ folder as the comment above suggests.

My best guess is that when signed using a Production Profile the application needs to be submitted to Apple first and will work only after released in the Mac App Store. But of course not having yet done this step is just a guess.

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