Building and Packaging the Project in XCode

Perform the following steps to build and package your project in XCode:

  1. Open the project in XCode and navigate to the Configurations section of the Info Tab of the project.

  2. Create a new configuration named Distribution by duplicating existing Release configuration.

  3. Highlight the Build Settings tab in the Code Signing section of the project properties and change all the options under Code Signing Identity to the name of the Distribution Certificate that you created.

  4. Change the options under Provisioning Profile to the value of the Provisioning Profile that you created.

  5. At the top of the XCode screen, highlight the Simulator and choose iOS Device.

  6. Select Product from the top menu and choose Archive.

This will initiate a build of the project and your app should be created.