You’re at the point where you’ve just finished your app and done testing it on the Simulator and on your iPhone and iPad. The next thing to do now is to deploy it to the app store! Actually we’re going to walk through steps on uploading your binary app and submitting everything for approval. I’ll be honest, this post is mostly to help jog my own memory in case I miss a step when trying deploy iOS apps. Fortunately there are plenty of other more detailed guides as well as official documentation on Apple’s Developer site.
Apple doesn’t want malicious apps installed on iPhones therefore these steps we take are security measures ensured by a process known as code signing.
Assumptions and Resources
- You’re enrolled in the Apple iOS developer program which is $99 per year.
- You’re working on a Mac with (non-beta) version of OSX or Xcode.
Step 1: Request Two Certificates
In the Developer Portal and click on Certificates, Identifiers & Profiles. You’ll need to create a Development and Distribution certificate. Click on the + icon in the top right area, click on the “iOS App Development” option, click continue and follow the instructions. Once that process is done, repeat the same steps except select “App Store and Ad Hoc” option to create a certicate for Production.
Open up your Xcode project, go to “Xcode > Preferences > Accounts” and login with your Appled developer account info. If you click on the “View Details” button you can see existing certificates and provisioning profiles.
Step 2: Configure and Upload App
In Xcode you should have “MySampleApp” Targets selected, not “MySampleApp” Projects. You can change this by selecting the dropdown arrows right above the Deployment Target section. Click on the General tab and enter the Bundle Identifier, Version, Build and Deployment Info. Once you’re done we’ll create an archive package to upload by clicking on “Product > Archive”. From the Archive window you can click the “Upload to App Store” button or “Export” the app and use Application Loader to upload the app. Both methods will work fine.
Step 3: Publishing with iTunes Connect
Click on “Account” in the Apple Developer portal and select “iTunes Connect”. Once you’re logged in, click on “My Apps”, and then click on the top, left “+” sign to add a new App.
Screenshots and more detail coming soon…