Configure iCloud
To develop an iCloud application, you must prepare a real iOS device and an iOS developer account,
Use the IOS developer account to log on to the configuration portal of the IOS Development Center (IOS provisioning portal URL is https://developer.apple.com/ios/manage/overview/index.action), you can do some configuration work for the application related to iCloud. These tasks include:
Create app ID
First, you must create an app ID for the application. The app ID is for application registration. This process is completed after the portal is configured and the developer logs on successfully.
Click app IDs in the left-side navigation pane.
Click "new app ID ".
After entering the information, click "Submit" to submit the information. The app ID creation page is displayed. The created mynotes
By default, the created application cannot use the iCloud service. You need to click the configure hyperlink to go to the application configuration page.
Click the "done" button in the lower right corner of the configuration to save the configuration and return to the app ID list page. At this time, let's take a look at the application We Just configured, its iCloud status has changed to green available.
Create a configuration Profile
Provisioning profiles are used by the application during compilation on the device. The files are divided into Development Configuration summary and release configuration summary files for Development (debugging) and release respectively. The page for managing Configuration profiles is displayed through the navigation menu provisioning on the left. The development label is used to manage development configuration profiles, and the distribution label is used to manage release configuration profiles. Different tags are processed, but their management process is the same, this section describes how to create a development configuration profile.
Click "New Profile" To Go To The create configuration profile page. In profile name, enter "mynotes profile" and certificates (certificate). This is our Certificate Name, and select "mynotes" for the app ID. The devices project is the device supported by the configuration summary file. Below are the registered devices. Select the devices to be used for debugging.
Click "Submit" to submit the configuration. The page jumps back to the Management Configuration Summary File page. Wait a moment and refresh the page. After the configuration profile is created, click the Download button next to the mynote profile line to download the configuration profile and click the edit hyperlink to modify the page.
To enable device debugging, We need to download the configuration summary file. After the download is successful, double-click the file to go to The xcode device management tool, where you can manage these configuration profiles.
From IOS network programming and cloud application best practices: Guan Dongsheng @ Tony _ Guan Dongsheng