ICloud setup and setup

I am trying to configure iCloud in my iOS application, I did the following:

  • Removed all old certificates on Mac.
  • Added iCloud to the application in Dev Console - created a new container and added to the application
  • Cancel the dev setting and load
  • Condition established
  • Added iCloud App Right

And this is where everything goes wrong ...

I cannot get the application to work again, the application is building, but I get an error message:

The rights specified in your applications The code signature signature file does not match those specified in the security profile.

(0xE8008016).

Any ideas?

UPDATE: I managed to launch the application so that everything was programmed and installed, everything is configured to the end of iTunes Connect, all conditions are valid and synchronized.

Now I get errors while checking ...

There are 4: Invalid code signing rights. The signature of your application package contains code signing rights that are not supported by iOS. In particular, the key "com.apple.developer.icloud-container-identifiers" in the payload ------- is not supported

The other 3 are similar to other containers!

+8
certificate xcode ios7 icloud
source share
4 answers

After sending an Apple report, it turns out that Apple systems are useless AGAIN!

So, if you are creating a new application or just adding iCloud to your application, you need to make sure that the system does not pick up or create an iOS8 cloud container!

If you need to remove it from the application permissions file, delete the selected containers in the Apple Developer Console and download the certificates again!

Thanks Apple again!

I was accused of using pre-released software! I haven't touched Xcode 6 yet.

+5
source share

This may be a late comment, but I post it here if someone is struggling for the same reason.

I ran into this problem in Xcode8 recently when I was trying to archive. Typically, I turned on iCloud using Xcode in the following steps:

  • Turn on iCloud in the Capabilities panel for my purpose by setting the switch to ON.
  • Check iCloud under my Application Identifier in the Member Center automatically turns green, and an iCloud container is created automatically using my Application Identifier. (The Apple system does this for us.)
  • Retrieve my certificate using my Application Identifier.
  • Create a new training profile.
  • Download and install a new certificate and training profile
  • Select the new provisioning profile in the Signing(Release) section of the General panel in my landing page.

Then I got errors like:

The iCloud Test profiling does not include the identifiers com.apple.developer.ubiquity-container-identifiers, com.apple.developer.icloud-container identifiers, and com.apple.developer.icloud-services. Signing a code is required for the type of product "Application" in the SDK "iOS 10.1", Signing a code is required for the type of product "Application" in the SDK "iOS 10.1"

I finally found that there are two options in the iCloud section in my Application Identifier in the Member Center. Compatible with Xcode 5 was selected by default, but I managed to choose another option.

enter image description here

+22
source share

If you are just adding iCloud to the application for the first time or want to update it to use CloudKit after using the older iCloud container:

  • Go to the Apple Developer Center .
  • Select Certificates, Identifiers, and Profiles .
  • Use the drop-down list in the upper left corner to switch between iOS / tvOS / watchOS or macOS
  • Select Application Names in the Identifiers section.
  • Select your application from the list.
  • Scroll down to iCloud and make sure it's turned on with a green dot.
  • If it is not turned on or has a yellow dot, click the button at the bottom of the Edit page and make sure that you have checked the iCloud service.
  • You may also need to create a container in the iCloud Containers section, and then associate it with this application.
+3
source share

What I did: - leave only com.apple.developer.icloud-services in the rights file - in the capabilities in iCloud marked by the keystore and iCloud Documents (EMPTY cloud set) - Containers set individual settings, but do not select any of your containers - This will probably give you a red warning sign under the steps, but leave it as it DOES NOT CORRECT - Regarding the preparation profile. In development and distribution profiles, there must be an identifier for the application in which iCloud is enabled, but NOT associated with any container - In these provisioning profiles installed in iCloud OLD versions for Xcode 5, etc., Not new, associated with iCloud containers

0
source share

All Articles