Information Technology Reference
In-Depth Information
Building the project
You're almost (but not quite) ready to build the project. In Xcode 3, you built a project in the usual way,
archived it manually in Finder, and manually uploaded the archive to iTunes Connect.
In Xcode 4, the Archive build action and the validation/submission features automate this process. You can do
everything from Xcode without having to find the app package in Finder or using an external uploader.
By default, the Archive uses the Release configuration. You must change this before building. Follow these steps:
CAUTION
If you forget this step, the product is assigned your development certificate. Other very bad things may also hap-
pen, and your archive isn't valid.
1. Select Product Edit Scheme from the main Xcode menu.
2. Select the Archive action in the column at the left.
3. Select the App Store configuration from the Build Configuration menu, as shown in Figure 13.11.
4. Leave the Reveal Archive in Organizer option checked.
5. Select iOS Device as the Destination from the menu at the top of the dialog.
6. Make sure the Breakpoints button is deselected.
Figure 13.11
Make sure that your new App Store configuration settings are applied when you build to archive/upload.
Search WWH ::




Custom Search