In this recipe, we will take a look at how easy it is to add and configure entitlements using Xcode to enable your applications to communicate with the iCloud service.
In order to protect the data your application creates, a number of specific entitlements need to be created at build-time, in order to use iCloud storage. You will need to ensure that you have selected the option to enable iCloud for your application's app ID.
Before your application can communicate with the iCloud service, you will need to create a new app ID from within the iOS provisioning portal, which can be located at https://developer.apple.com/ios/manage/bundles/index.action/.
If you are using an existing ...