Tags

, ,

Hi Folks,

For all the iOS developers, who are developing an iOS application and now would like to submit their app to Apple store, all you need is to follow the below steps.

The article is updated according to the latest deployment changes introduced by Apple from March 1, 2013 onwards.

Prerequisite

1. Distribution Certificate

2. Provisioning Profile

3. Xcode 4.6.2

4. iOS 6 and above

5. Mac OS 10.8

6. An iPhone or iPad.

NOTE: I can’t cover how will you get the Distribution and Provisioning certificates and profiles, but in short I’ve created my account on developer.apple.com and the client for whom I worked with, has added me and provided me all the required certificates. But, if you would like to create your own, please read out apple documentation.

1 Distribution certificate: log-in to you developer.apple.com account. Go to -> Certificates, Identifier and Profiles under iOS Developer Program.

  • Click on ‘Certificates’ under iOS Apps.
  • Show the full list under ‘Certificates’ and click on ‘Distribution’.
  • You’ll find a Distribution Certificate (as Type). Download it.
  • Double click on it. It will be open in your ‘Key Chain‘ utility under ‘My Certificates‘.

2. Provisioning Profile: Follow step 1 of Distribution certificate.

  • Click on ‘Certificates’ under iOS Apps.
  • Show the full list under ‘Provisioning Profiles’ and click on ‘Distribution’.
  • You’ll find Distribution Provisioning Profile (as Type). Download it.
  • Double click on it. It will be open in your Xcode.

3. Attach your device with you Mac system and make sure it comes under your ‘Xcode Organizer’ menu.

4. Please keep in mind of below pointers:

  • Make sure your build is clean.
  • Make sure you’ve re-run your build once it’s cleaned.
  • Make sure you’ve run your build on the device to ensure everything is working fine. Because failure of just 1 piece of functionality will not allow you to submit your app to Apple store.
  • Make sure you’ve defined all the dependencies of your application (for e.g. Camera, Maps etc.). Because, when apple reviews your application, it checks weather all the dependencies all defined or not!

5. Your application submission depends on the below steps (we will cover each in detail):

  • Select your connected device near the ‘Run’ button.
  • Set the command line build to Distribution from the drop-down menu.
  • Open info.plist and change the bundle identifier to the appropriate one.
  • Make sure all the launch images are configured/defined properly.
  • Ensure to define distribution certificate under ‘Build Settings’ for Distribution entity.

6. Once all the checks are done. Go to ‘Edit Scheme’ -> ‘Archive’ and change the build configuration on the same window to Distribution.

7. Click on ‘Product’ -> ‘Archive’. This will clean, re-build your application. If no errors found, a new window will open (go to step 8). If error occurs (follow step 4 and 5).

8. You’re almost at the end. In the new window, 2 buttons will be there:

  • Validate and
  • Submit
  • Validate checks if all the required dependencies meet + builds your application
  • Submit validates your application. Requires itnues connect credentials.

I’ll add the necessary screenshots very soon.

Let me know if this article is helpful or need any modification.

Puneet Pandey

Advertisements