Change iCloud container with iOS 8 release

Starting with the release of iOS 8 on the 17th, all of my development and deployment profiles are displayed as invalid in the Apple dev center. Also, none of my applications using iCloud will work in Xcode 5.1 or 6 GM on a real device. Receive a message stating that the rights do not match the security profile. The only acceptable iCloud containers should now start with iCloud, which does not recognize data already stored in iCloud, using the previously required iCloud container naming structure.

Any solutions? I searched the website and the Apple dev website for hours without any solutions. I cannot be the only one who has this problem. Very disappointing after you released the app on the App Store and now you can’t change any code to update it!

+8
ios xcode provisioning-profile containers icloud
source share
2 answers
  • Click Use Default Container
  • Click Specify Custom Containers
  • Re-select custom containers.
+1
source share

Not sure if this is the final answer, but I finally found a way to access old iCloud information in my application on the device. I returned to Xcode 5.1.1, deleted the rights file in my project. Edited development and distribution profiles on iTunesConnect (using iCloud.xxxx settings that are only allowed now), downloaded and installed in Xcode 5.1.1. I checked the Key-Value Store: for iCloud functions and clicked + in the Ubiquity Containers container and made sure that all targets have the same container (com.companyName.AppName) for each target in the application. Then they connected the iOS device and launched the application. Errors appeared, returned to each goal and clicked "fix" in the "Features" - iCloud section. If you clicked the patch several times until you no longer appear. Then it started the application again, the previous iCloud data stored in the application appeared in the application before iOS 8, and everything seems to work.

The above result led to the creation of a separate rights file for each goal, previously there was only one rights file used by all goals.

I have not tried it with Xcode 6 yet, but finally I got access to my application through Xcode 5.1.1 and again I can fix and improve my published applications.

Update (11/5/2014): I was able to upload to the beta application store without problems using Xcode 5 with the above method.

Hope this helps someone else.

0
source share

All Articles