Thursday, July 5, 2012

Submitting Your App to AppStore

Submitting your app to the App Store is a multistep process involving several tools. First, create a distribution provisioning profile using iOS Provisioning Portal. Then create an archive, validate it, and submit it to the App Store using Xcode. When your app is approved, set the date the app will be available to customers using iTunes Connect. Finally, don’t forget to respond to user issues after you ship your first version.

Before You Begin

Before starting, you should have a distribution certificate and the status of your iTunes Connect app record should be “Waiting for Upload” or later, as described in “Creating Your App Record in iTunes Connect.”

Now, create a distribution provisioning profile using the iOS Provisioning Portal.

Create a Distribution Provisioning Profile

When the app is ready for publication, you create a distribution provisioning profile by selecting App Store as the method of distribution. The steps are similar to creating an ad hoc provisioning profile for testing except that you select an app ID only. You do not select any signing certificates or device IDs.

To create a distribution provisioning profile . . .
  1. Log in to the iOS Provisioning Portal from the Member Center.
  2. Select Provisioning in the sidebar.
  3. Select the Distribution tab.
  4. Click New Profile.
  5. Select App Store as the distribution method.
    Submitting Your App to AppStore

  6. Enter a profile name.
  7. Confirm that your distribution certificate is displayed.
  8. Choose app ID.
  9. Click Submit.

    When the status of the ad hoc provisioning profile changes from Pending to Active, you can begin using it. You may need to refresh the webpage in the iOS Provisioning Portal to see the status change. If you are using Safari, select View > Reload Page.

Configuring Your Project for App Store Submission

To submit your app for publication on the App Store, you need to build the app using your team’s distribution code signing identity.

To configure your project to facilitate the building of distribution-identity–signed archives of your app:
Submitting Your App to AppStore
  1. In your project, duplicate the Release build configuration and name the duplicate “AppStore”.
  2. Set the Code Signing Identity build setting to your team’s distribution code signing identity through the app’s distribution provisioning profile for the AppStore build configuration.
  3. In the target, delete the Validate Build Product build setting specification for the Release build configuration.
  4. Goto manage schemes and duplicate the scheme that builds your app and name the duplicate  “<App_Name>-AppStore”.
  5. In the AppStore scheme, set the build configuration for the Archive action to AppStore.

Create and Validate the Archive


To create the archive . . .
  1. Select the Xcode project window.
  2. Choose iOS Device from the scheme toolbar menu.



  3. Choose Product > Archive.
    The Archives organizer appears and displays the new archive.
To validate the archive . . .
Submitting Your App to AppStore
  1. In the Archives organizer, select the archive.
  2. Click the Validate button.
  3. Enter your iTunes Connect credentials and click Next.
  4. Select the app you want to share and the appropriate signing identity, and click Next.
  5. Review validation issues found, if any, and click Finish.
You need to fix any validation issues, create a new archive, and validate it again. You cannot proceed until the archive passes the validation tests.

Submit the Archive

Only after passing validation tests, can you submit your app to the App Store. In fact, Xcode validates your archive again during the submission process.
If you find "submit" button, click on it and give the "iTunes Connect" credentials and select the corresponding distribution provisioning profile.Else, follow this procedure



To submit the archive to the App Store . . .
Submitting Your App to AppStore
  1. In the Archives organizer, select the archive.
  2. Click the Distribute button.
  3. Select “Submit to the iOS App Store” and click Next.
  4. Enter your iTunes Connect credentials and click Next.
  5. Select the app you want to share and the appropriate signing identity, and click Next.
    Xcode runs the validation tests again. If issues are found, click Cancel and fix them before continuing.
    Submitting Your App to AppStore


  6. Enter a filename and location for the App Store package and click Save.
Xcode transmits the archive to Apple, where it is examined to determine whether it conforms to the app guidelines. If the app is rejected, correct the problems that were brought up during app approval and resubmit it. Before you submit the app, you should read iOS Human Interface Guidelines and App Store Review Guidelines for iOS Apps to avoid problems.

Ship Your App

Use iTunes Connect to set a date when the app is available on the App Store. For example, you can choose a date that immediately releases the app to the App Store after it is approved, or you can set a date for sometime in the future. Using a later availability date allows you to arrange other marketing activities around the launch of your app.
To set the availability date . . .
Submitting Your App to AppStore
  1. Log in to iTunes Connect .
  2. Select Manage Your Applications.
  3. Select your app in iOS App Recent Activity.
  4. Click Rights and Pricing.
  5. Choose a date from the Availability Date pop-up menus.
  6. Optionally, edit the other fields on this form.
  7. Click Save.
Changes you make to Rights and Pricing go live immediately (expect 24 hours for a full refresh of the changes on the App Store).