Information Technology Reference
In-Depth Information
Building, testing, and validating the app
Follow these steps to build, test, and validate your app:
1. Select Product ⇒ Archive to build the app and open the Organizer.
You can use the Validate button to perform basic validation, as for an iOS app. You also must run a separate
check to make sure your app will install correctly after it has been downloaded from the App Store.
2. Select the Share button at the top right, and leave the default setting for Contents unchanged—for
example, Mac OS X App Store Package ( .pkg ), as shown in Figure 13.26.
3. Save the file to a location you can easily access from the command line, such as your root user dir-
ectory.
4. Open Terminal, and type this code snippet:
sudo installer -store -pkg <path-to-package> -target /
This runs the standard OS X installer in App Store mode, which forces it to check signatures and permis-
sions. (If you double-click the app package it installs without these checks.) The app should install in your
/Applications folder, where you can run it in the usual way.
5. If validation and the installer test work correctly, click the Submit button to submit the app.
6. Log in, select an app record, and pick a signing identity, as for an iOS app.
Figure 13.26
Checking installation with a store-compatible manual install
Search WWH ::




Custom Search