Search code examples
xcodeios7certificateicloud

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!


Solution

  • After submitting a report to Apple, it turns out that Apple systems are useless AGAIN!

    Ok, so if you are creating a NEW application or you are only just adding iCloud to your application - you will need to make sure the system doesn't pick up or create a iOS8 cloud container!

    If it does you need to remove it from your app entitlements file, remove the selected containers in the Apple Developer Console and re-download certs again!

    Thanks Apple again!

    I got blamed for using pre-released software! I haven't touch Xcode 6 yet!!!