1. Creating the SSL certificate
1.1. Generating a Certificate Request
Launch the Keychain Access application on your Mac.
Select the menu item Keychain Access > Certificate Assistant >
Request a Certificate From a Certificate Authority…
Enter you name and email address (leave CA Email Address blank).
Select "Saved to disk" to download the .certSigningRequest file to
your desktop.
1.2 Creating and Configuring an AppID
Navigate to the Apple Developer Member Center website, and enter the iOS
Provisioning Portal.
Select App IDs from the menu on the left.
Select the "New App ID" button and create a new App ID. Make sure
you do not enter the wildcard character ("*") in the "Bundle
Identifier" field.
Select "Configure" beside your newly created App ID.
Check "Enable for Apple Push Notification service". Then, Click
"Configure" beside the "Development Push SSL
Certificate". The "Apple Push Notification service SSL Certificate
Assistant" wizard should be displayed.
Select "Continue", then select "Choose File" and locate
the .certSigningRequest file you created in the previous step.
Select "Generate" and download the generated SSL certificate.
Double click on the downloaded SSL certificate to install it in your
Keychain.
In your keychain, under "My Certificates", find the certificate you
just added. It should be called "Apple Development IOS Push Services:
xxx".
Right-click on it, select "Export Apple…", and save it as a .p12
file. Do not enter an export password when you prompted!
2. Creating the Provisioning Profile
Select the "Provisioning" tab in the iOS Provisioning Portal.
Create a new profile by selecting "New Profile".
Fill in the information. Make sure you select your developer certificate, the
App ID you just created, and the devices you'll be testing with.
Download the generated Provisioning Profile by clicking the
"Download" button under the "Actions" column.
Install the profile by double-clicking on the downloaded file. This should
open the iPhone Configuration Utility App.
3. Configuring the Parse App
If you want your users to be able to send push notifications, you will need
to toggle the "Client push enabled?" option to "on" under
the "Push Notification Settings" header. This is useful for
applications like chat clients, where users need to send push messages. For
this tutorial, select toggle the option to "on".
|