O'Reilly logo

Xcode 4 Cookbook by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 https://developer.apple.com/ios/manage/bundles/index.action/.

If you are using an existing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required