Changes

Jump to: navigation, search
no edit summary
In the chapter entitled Creating a Simple iPhone App we were able to see an app that we had created running in the iPhone simulator bundled with the iPhone SDK. Whilst this is fine for most cases, in practice there are a number of areas that cannot be tested in the simulator. For example, no matter how hard you shake your computer (not something we actually recommend) or where in the world you move it to, neither the accelerometer nor GPS features will work within the simulator. In fact, wherever you happen to be, requesting the location of the device when running in the simulator will give you the longitude and latitude of Apple’s California HQ. If we really want to thoroughly test an application in the real world, therefore, then we need to install the app onto a physical iPhone device.
In order to achieve this there are a number of steps that must be performed. These include signing up to the iPhone Developer Program, generating and installing a developer certificate, creating an App ID and provisioning profile for your application, and registering the devices onto which you wish to directly install your apps for testing purposes. In the remainder of this chapter we will cover these steps in detail.

Navigation menu