Distributing Applications

https://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/DistApps/DistApps.html

Before submitting an application to the App Store or share it with others, you create an application archive. You can then share your application archive with application testers and other application developers or distribute it to users. To have the application considered for inclusion on the App store, you submit the archive to iTunes Connect. To ensure your application archive passes essential iTunes Connect validation tests, you can have Xcode validate it before you submit it.

Archive Your Application

Before archiving your application, ensure that the binary is self contained. That is, if it relies on static libraries, ensure that those libraries are part of the application binary by setting the Skip Install build setting to Yes in the Release build configuration of the target that builds and archives the application.

 

 

 

image: ../Art/project_editor-target-skip_install-focus.jpg

 

 

 

Archive your product for submission to iTunes Connect or for sharing with others. Schemes have an Archive action with settings you use to customize the archive that Xcode creates when you choose Product > Archive.

 

  1. From the Scheme toolbar menu, choose a scheme.
  2. From the same menu, choose Edit Scheme to display the scheme dialog.
  3. In the left column, select Archive.
  4. Choose a build configuration.
  5. Specify a name for the archive and click OK.
  6. Choose Product > Archive.
image: ../Art/scheme_archive.png

An archive is a bundle that includes your product along with symbol information. You can build an archive to seed an application for testing or to validate and submit an application to iTunes Connect.

Your new archive appears in the Archives list in the Organizer window, unless you turn off this option. Each archive is identified in the archives organizer with the date and time it was created. For more information, see the related article on the archives organizer.