Here’s a walkthrough for creating the p12 and mobileprovision files you’ll need to start publishing your iPhone apps in AppFurnace.
Please note: these instructions are written for Mac users, as the Apple publishing process requires you to have access to a Mac computer. If you’re publishing an app through AppFurnace, but don’t have access to a Mac computer, contact us through firstname.lastname@example.org and we’ll see if we can help you.
If you have already created your Distribution Certificate for your Apple Account, please skip to the section entitled Exporting the P12 for use in AppFurnace
Sept 2013: This page has been updated to reflect the new design of the Apple Developer Tools.
Setting up your Apple Developer Account
- Start at: https://developer.apple.com/account/overview.action
- Sign in using your developer account. Ideally this should be the Team Admin (if it's only you on the account, this'll be you, so don't worry).
- Go to Certificates
- Under the Certificates heading, select Production
- Click the + to add a new Certificate
- On 'What type of Certificate?' choose App Store and Ad Hoc, then hit Continue.
- Follow the instructions on the screen to create the CSR file.
- When you're done hit Continue and upload the .csr file you created earlier.
- Your certificate should be created. Download it and double-click it in Finder to install it to Keychain Access. If you get any popups as a result, agree with the defaults.
- Verify that it's installed correctly by opening Keychain Access, selecting Certificates under Category at the bottom left and checking there's an entry called iPhone Distribution: My Company, with a little expanding arrow to the left of it.
- Note that this process has created a private key on your Mac that we'll be using later on.
- Next we set up the App ID (required for the mobileprovision file).
- Go to Identifiers / App IDs
- HIt + to add a new one
- Call it Any My Company App (replacing My Company with your actual company name)
- Under App Id suffix, select Wildcard App ID, and type * (asterisk) into the box
- Leave everything else alone, and hit Continue
- Go to Provisioning Profiles / Distribution
- Hit + to add a new Provisioning Profile
- Select Distribution / App Store
- Hit Continue
- Next it'll ask for the App ID to use. Select Any My Company App (that we created earlier) and hit Continue.
- Set Profile Name to MyCompanyAppStore then hit generate.
- Download the new mobileprovision file, and keep it somewhere safe. You'll need to upload it to AppFurnace later, along with the p12 file we'll make next.
Exporting the P12 for use in AppFurnace
Now we need to export both the Distribution Certificate file you just created and the private key to a single .p12 file that we’ll then upload to AppFurnace. The private key was created during the process where we made the .CSR file.
- Run the app called Keychain Access on your Mac.
- Select the login keychain from the top-left panel
- Select “My Certificates” from the “Category” menu in the left panel
- Find your iPhone Distribution Certificate. It'll be called something like iPhone Distribution: My Company. DO NOT select iPhone Developer: My Company, as this will not work!
- Expand this item, and inside you should see the Private Key. This private key is something like Bob Smith.
- Select BOTH the key and the certificate (Hold CMD and click both items)
- Right click and select Export 2 Items...
- Save your key in the Personal Information Exchange (.p12) file format, and call the file “Certificates.p12”
- You will be prompted to create a password that is used when you attempt to import this key on another computer
- Do not enter a password for either, just hit the return key to continue. If you set a password on the file, AppFurnace builds will not be able to use it.
This is the final p12 file you’ll need to upload to AppFurnace later on, so keep it in a safe place