We are going to start by creating a new App ID and making sure it is enabled for iCloud access. Using the new App ID we can create, download, and install the development provisioning profile that will enable iCloud access. Let's get started!
Go to http://developer.apple.com and select the Mac Dev Center option.
Login to the Mac Dev Center and select Developer Certificate Utility.
Create a new App ID making sure to Enable for iCloud.
Create a new Development Provisioning Profile for the iCloud enabled App ID by selecting Provisioning Profiles and clicking on the Create Profile button.
On the Create Mac Provisioning Profile detail screen, select Development Provisioning Profile for the Kind field, give it whatever name you like, and select Numbers In The Cloud for the Mac App ID.
Next, download the Profile.
Double-click on the downloaded
.provisionprofile
file to install the profile...