Chapter 2. Becoming a Developer
Before you start writing code, you need to do some housekeeping. First, you’ll need to install Xcode, Apple’s development environment, as well as the iPhone SDK. Both of these are available directly from Apple, although you may already have Xcode on your Mac OS X install DVD. However, before you can install the iPhone SDK, you’ll have to register with Apple as a developer. If you enroll in one of the developer programs, you’ll also need to create, download, and install a number of certificates and profiles to allow you to deploy your applications onto your iPhone or iPod touch. Let’s get these housekeeping tasks out of the way now so that you can get to the interesting bit—the code—as quickly as you can.
Developing applications for the iPhone requires an Intel Mac running Mac OS X 10.5 (Leopard) or later.
Registering As an iPhone Developer
Before you can develop for the iPhone, you need to become a registered iPhone developer so that you can download and install the iPhone SDK. This will give you access to the SDK and allow you to build and test your applications in iPhone Simulator.
If you take it a step further and enroll in the iPhone Developer Standard or Enterprise Program (both of these have a yearly fee), you’ll be able to test applications on your own iPhone or iPod touch. We will discuss how to enroll in these programs in the next section.
If you choose the free account, you won’t be able to install your applications onto your own iPhone ...