Developer's Guide
Mobile Payments Library Developer Guide and Reference –iOS Edition August 2012 49
C. Creating an Ad Hoc Build
The Ad Hoc distribution method for iPhone apps allows for distribution of the build to internal or
external sources. PayPal provides the Device ID values for PayPal’s devices. In the process below, you
add PayPal’s devices to your Ad Hoc Provisioning Profile. You then compile the build, sign it with
your Ad Hoc Provisioning Profile, and deliver the zipped build and the Ad Hoc Provisioning Profile to
PayPal.
Creating a Distribution Certificate
Distribution Certificates are paired with private keys linked to computers. A Distribution Certificate is
one component of the Distribution Provisioning Profile that you use to sign the build in Xcode.
Creating and Approving a Certificate Signing Request
To request an iPhone Development Certificate, generate a Certificate Signing Request (CSR) utilizing
the Keychain Access application in Mac OS X Leopard. When you create a CSR, Keychain Access
generates your public and private key pair to establish your iPhone Developer identity. Your private key
is stored in the login Keychain by default, and you can view it in the Keychain Access application
under the Keys category.
1. In your Applications folder, open the Utilities folder and launch Keychain Access.
2. In the Preferences menu, set Online Certificate Status Protocol (OSCP) and Certificate
Revocation List (CRL) to Off.
3. Choose Keychain Access > Certificate Assistant > Request a Certificate from a Certificate
Authority.
N
OTE: If you highlight a non-compliant private key in the Keychain during this process, the
Program Portal does not accept the resulting Certificate Request. Confirm that you are
selecting Request a Certificate From a Certificate Authority… and not selecting Request
a Certificate From a Certificate Authority with <Private Key>….
4. In the User Email Address field, enter your email address.
Ensure that the email address entered matches the information that you submitted when you
registered as an iPhone Developer.