Changes

Jump to: navigation, search
no edit summary
In the chapter entitled [[Creating a Simple iPhone iOS 4 App (Xcode 4)|Creating a Simple iPhone iOS 4 App]]we were able to see an app that we had created running in the iOS Simulator environment bundled with the iOS 4 SDK. Whilst this is fine for most cases, in practice there are a number of areas that cannot be comprehensively 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 provide real world results within the simulator (though the simulator does have the option to perform a basic virtual shake gesture). If we really want to thoroughly test an iOS 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 iOS 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