Requesting entitlements for iCloud storage

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.

Getting ready

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.

How to do it...

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

If you are using an existing ...

Get Xcode 4 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.