Graphics Programs Reference
In-Depth Information
Deploying an Application
Now that you've written your first iOS application and run it on the simulator, it's time to
deploy it to a device.
To install an application on your development device, you need a developer certificate from
Apple. Developer certificates are issued to registered iOS Developers who have paid the
developer fee. This certificate grants you the ability to sign your code, which allows it to
run on a device. Without a valid certificate, devices will not run your application.
instructions and resources to get a valid certificate. The interface for the set-up process is
continually being updated by Apple, so it is fruitless to describe it in detail. Instead, use the
Development Provisioning Assistant, a step-by-step guide available on the program portal.
Work through the Development Provisioning Assistant,
paying careful attention to each
screen
. At the end, you will have added the required certificates to
Keychain Access
and
the provisioning profile to
Xcode
.
If you're curious about what exactly is going on here, there are four important items in the
provisioning process:
Developer Certificate
This certificate file is added to your Mac's keychain using
Keychain Access
. It is
used to digitally sign your code.
App ID
The application identifier is a string that uniquely identifies your application on
the App Store. Application identifiers typically look like this:
com.bignerdranch.AwesomeApp
, where the name of the application fol-
lows the name of your company.
The App ID in your provisioning profile must match the
bundle identifier
of your
application. A development profile, like you just created, will have a wildcard
character (*) for its App ID and therefore will match any bundle identifier. To see
the bundle identifier for the
Quiz
application, select the project in the project nav-
igator. Then select the
Quiz
target and the
Summary
pane.