Building Apps for Test Devices

So far, we’ve learned how to build projects for the Simulator. Dedicated developers test their projects on one or more test devices because this is the only way to access advanced hardware features and check app performance.

Live testing is limited to developers who enroll in the iOS Developer Program, which was introduced in Chapter 1. If you want to use live testing and haven’t yet enrolled, go back to Chapter 1 and read the instructions before continuing.

Understanding certificates and provisioning

Live test privileges and app store access upload privileges are granted through a security system. The system is really designed to manage team development. Team administrators can use it to control which team members can use live testing and which members are allowed to submit finished apps to the app store.

The security system is complex and uses four files to control access to testing and distribution. To set up access, you must use a section of the developer website called the iOS Provisioning Portal, shown in Figure 3.20. After you log in to the iOS Dev Center as a developer, you can access the iOS Provisioning Portal by clicking a link near the top right of the page.

The four files are:

bullet_2c.tif A Certificate Signing Request (CSR). This file contains a digital key. You create it on your Mac to confirm your identity.

A Developer Certificate. This file gives ...

Get iOS App Development Portable Genius now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.