Changes

Jump to: navigation, search
no edit summary
In the chapter entitled [[Creating a Simple iPad iOS 4 App (Xcode 4)|Creating a Simple iPad iOS 4 App]] we were able to see an iPad application that we had created running in the iOS iPad 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 iPad application in the real world, therefore, then we need to install the app onto a physical iPad 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.
7.1 == Joining the iOS Developer Program== 
Being a member of the iOS Developer Program should not be confused with being a registered Apple developer. Being a registered Apple developer only gives you the ability to download the iOS SDK and access to additional developer related information. Membership of the iOS Developer Program, however, allows you to set up certificates and provisioning profiles to test applications on physical iOS based devices and, ultimately, submit completed apps for possible acceptance into the Apple App Store.
 
Enrollment into this program currently costs $99 per year. It is also possible that your employer already has membership, in which case contact the program administrator in your company and ask them to send you an invitation to join. Once they have done this Apple will send you an email entitled You Have Been Invited to Join an Apple Developer Program containing a link to activate your membership. If you or your company is not already a program member, you can enroll online at:
 [http://developer.apple.com/programs/ios/ http://developer.apple.com/programs/ios/] 
Having completed the enrollment process, navigate to [http://developer.apple.com http://developer.apple.com] and click on the Member Center link located near the top right hand corner of the screen. On the resulting page enter the Apple ID and password associated with your iOS Developer Program membership to access the member center home page as illustrated in the following figure:

Navigation menu