This recipe includes information on how to sign up to the Apple Developer Program, as well as how to download and install the necessary tools needed to develop applications using Xcode.
Before you can start building iOS applications, you must first join up as a registered user of the iOS Developer Program in order to download all of the necessary components to our computer. At the time of writing, the latest version is 4.5.2, and iOS SDK's latest version is 6.x. The registration process is free, and provides you access to the iOS SDK and other developer resources that are really useful for getting you started.
The following short list outlines some of the things that you will be able to access when you become a member of the iOS Developer Program:
To prepare your computer for iOS development, you will need to download and install the necessary components in the following order:
/Developer/Applications
folder. The installation process takes you through the custom installation options screen, as shown in the following screenshot:These options give you a little more control over the installation process. For example, you are able to specify the folder location in which you would like to install Xcode, as well as settings for a variety of other options.
Now that everything has been installed and is ready to go, our next step is to take a look at what each component within the Xcode and iOS SDK is needed for.
As mentioned in the Introduction section of this chapter, the iOS SDK is made up of three important components. The main component, Xcode IDE, is Apple's IDE that allows for developing applications for the iOS and Mac platforms, and uses Objective-C as the default programming language.
This environment allows for better integration and editing of source code, and building, compiling, and debugging your applications. It contains a number of tools that can help with diagnosing issues with your iOS applications. The topic on instruments, will be covered later on in this book. The IDE contains a device information window, called Organizer – Devices, which is shown in the following screenshot:
This screen is necessary to install the various certificates and provisioning profiles that are required for deploying an application onto a device for testing, or distribution through the Apple App Store. Using the Organizer – Devices window, you can view debugging information of your applications, crash logs, as well as the ability to take screenshots from the device.
The iOS Simulator has the capability of simulating the different iOS versions, and this can become extremely useful if your application needs to be installed on different iOS platforms, as well as testing and debugging errors reported in your applications when run under the different iOS versions.
The following list provides you with the links that contain the tools and information for installing them: