Database Reference
In-Depth Information
There are two other pieces of information you need to provide when creating an App ID: the App ID
Description and App Services. The App ID Description is a name that you use inside the developer
portal and is not seen by anyone else. As for App Services, we will only be concerned with iCloud.
Provisioning
A provisioning profile defines your set of devices. It contains a list of identifiers for all your devices,
defines your developer certificate, and grants iCloud support via the App ID. This profile tells the
operating system to trust the app that you are developing.
Provisioning profiles are separated into two categories: development and distribution. Development
profiles are used when you first develop an app locally. The devices that you build and test on are all
physically with you. Distribution profiles are used when you deploy your app for testing or submit it
to the App Store. We will only be concerned about development profiles in this topic.
Entitlements
Entitlements are an important piece of the iOS Security Framework. By enabling entitlements,
you are causing the entitlement to be included in the code signature of the app. This is why it is
important to always remember to enable the iCloud entitlement for an iCloud app. If you don't, you
will not be able to access the iCloud service.
There are two entitlements when dealing with iCloud:
com.apple.developer.ubiquity-kvstore-identifier : This is the entitlement that
you set when enabling the Key-Value Store.
com.apple.developer.ubiquity-container-identifiers : This is the entitlement
that you set when you are enabling Document Storage.
Note Document Storage encompasses three different areas: the storage of UIDocuments, Packages, and
CoreData.
Setting Up Your App ID and Provisioning Profile
Let's create our App ID and provisioning profile on the Apple Developer website. This sets the stage
for opening up Xcode and setting up our new project.
1.
Log in to your developer account at http://developer.apple.com .
2.
Click the iOS Dev Center link.
3.
On the right side, click Certificates, Identifiers & Profiles. Select the section
as shown in Figure 4-1 .
 
 
Search WWH ::




Custom Search