Although the iPhone Simulator is a very handy tool that allows you to test your iPhone applications without needing an actual device, nothing beats testing on a real device. This is especially true when you are ready to roll out your applications to the world — you must ensure that it works correctly on real devices. In addition, if your application requires access to hardware features on an iPhone/iPod Touch, such as the accelerometer and GPS, you need to test it on a real device — the iPhone Simulator is simply not adequate.
This appendix walks through the steps you need to take to test your iPhone applications on a real device, be it iPhone or iPod Touch.
The first step toward testing your applications on a real device is to sign up for the iPhone Developer Program at
http://developer.apple.com/iphone/program/. Two programs are available: Standard and Enterprise. For most developers wanting to release applications on the App Store, the Standard program, which costs $99, is sufficient. Check out
http://developer.apple.com/iphone/program/apply.html to learn more about the differences between the Standard and Enterprise programs.
If you just want to test your application on your actual iPhone/iPod Touch, sign up for the Standard program.
To test your iPhone applications on your device, you need to obtain an iPhone Development Certificate from the iPhone Developer Program Portal. ...