Use this procedure to provision your iOS device for APNs if you build your own Mobile Workflow application using the source code provided in <UnwiredPlatform_InstallDir>\UnwiredPlatform\ClientAPI\Workflow\ios\MobileWorkflow-2.0.0.tar.gz.
See the Apple developer documentation for Provisioning and Development. These procedures are documented in detail there. Applications developed for distribution must be digitally signed with a certificate issued by Apple. You must also provide a distribution provisioning profile that allows user devices to execute the
application.
- Register with Apple to download and use the iOS SDK. A free account allows you to download the SDK and develop with the simulator. To deploy Mobile Workflow applications to devices, you must create a certificate in your developer account and provision your device. See the Apple developer documentation.
- Use the iPhone Provisioning Portal at http://developer.apple.com/devcenter/ios/index.action to create the SSL certificate and Keys. Configure the certificate to enable for Apple Push Notification service. See the Apple Push Notification service Programming Guide for details.
- On your Mac, launch the Keychain Access program. This is located in the Utilities folder.
- In Keychain Access, select .
- In the Certificate Information window, enter the information. Use a unique Common Name.
This creates a certificate request and saves it in the Desktop folder by default.
- In the Apple Provisioning Portal, continue with the App ID provisioning and browse to the certificate request file created in Keychain Access in the previous step, then click Generate.
- Click Continue.
- Click Download Now.
The certificate is downloaded onto your Mac and the Keychain utility appears and the certificate is imported into the "login" keychain.
- Verify that the certificate is associated with a private key.
- Create and install a Provisioning profile for the Mobile Workflow application.
- Create an XCode project for the Mobile Workflow application.
The Bundle Identifier must correspond to the Bundle identifier specified in the App ID. By default, the project comes with a bundle ID of com.sybase.mobileworkflow. You can change it to something unique.
Note the product name. This is used to configure the mobile workflow in Sybase Control Center. By default, the product name is Workflow.
- Copy the exported <certificate_name>.p12 certificate to the machine where Sybase Control Center is installed and ollow the instructions in Configuring Apple Push Settings for the Mobile Workflow Application and use the certificate you just created.
Make note of the product name. This corresponds to the Application Name property in SCC.