Enabling bans in Xcode prevents the launch of the Bare Bones application from starting

I created the base application in Xcode 4.2. A very simple application, I have not changed anything. Click the "Start" button, and you will get a standard basic application window. If I enable rights for my purpose and hit run, I will not get debugger errors, but the window never appears. I checked the logs using Console.app and got the following:

The 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 

Due to the type of iCloud, I even added the application to my developer account, preparation profile, and added my machine. Any suggestions? Very confused now.

+6
source share
1 answer

Make sure a few things. This, unfortunately, is a tedious process, but if you follow these steps carefully, you must be tuned.

1) On the developer certificate utility page on the Apple website, you registered your computer along with its UUID.

2) . You have created and uploaded a development certificate.

3) The identifier of your application (in the same utility) is configured for iCloud. This usually means that you check the box.

4) . The development profile for your application indicates the application identifier specified in (3) , as well as the hardware system registered in (1) , as well as the certificate specified in (2)

5) . After downloading a new provisioning profile, install it both in the system, double-clicking on it, and in Xcode, dragging it to the "Provisioning Profiles" panel in your Organizer.

6) In the build settings for your application, make sure that the code signing identifier points to your new provisioning profile.

+7
source

Source: https://habr.com/ru/post/900667/


All Articles