I am trying to set up iCloud within my iOS application, I have done the following:
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: