Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iCloud set up and provisioning

I am trying to set up iCloud within my iOS application, I have done the following:

  1. Removed all old certs on mac.
  2. Added iCloud to the App in Dev Console - created new container and added to app
  3. Redone the dev provision and downloaded
  4. Installed the provision
  5. Added the iCloud Entitlement to the app

And this is where is all goes wrong...

I can't get the app running again, the app is building but I am getting an error saying:

The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile.

(0xE8008016).

Any ideas??

UPDATE: I have managed to be able to run the application to get everything programmed and put in place, everything is set up iTunes Connect end, all provisions are valid and sync'd.

Now I am getting errors during validation...

There are 4: Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported by iOS. Specifically, key 'com.apple.developer.icloud-container-identifiers' in Payload ------- not supported

Other 3 are similar for other containers!

like image 438
RichAppz Avatar asked Jun 14 '14 17:06

RichAppz


People also ask

What is provisioning Apple?

Why Provisioning Profiles? Unlike Android, you can't install any app on an iOS device. It has to be signed by Apple first. However, when you're developing an app, you probably want to test it before sending it to Apple for approval. Provisioning profile act as a link between the device and the developer account.

What is the use of provisioning profile in iOS?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.

Where is my Apple provisioning profile?

In the iOS Dev Center, click Certificates, Identifiers & Profiles. In the iOS Apps panel, click Provisioning Profiles.

What does in app provisioning mean?

Application provisioning revolves around mobile app lifecycle management: Preparing, configuring, delivering, and managing mobile apps within an Endpoint Management environment.


1 Answers

If you're just adding iCloud to an app for the first time or want to upgrade to use CloudKit after using an older iCloud container:

  1. Go to the Apple Development Center.
  2. Choose Certificates, IDs & Profiles.
  3. Use the dropdown on the top left to switch between iOS/tvOS/watchOS or macOS
  4. Choose App IDs under the Identifiers section.
  5. Choose your app from the list.
  6. Scroll down to iCloud and make sure it is enabled with a green dot.
  7. If it's not enabled or has a yellow dot, click the button at the bottom of the page to Edit and make sure you've checked iCloud service.
  8. You may also need to create a container under the iCloud Containers section then associate it with this app.
like image 86
Nick Avatar answered Oct 13 '22 06:10

Nick