O'Reilly logo

Beginning iPhone® SDK Programming with Objective-C® by Wei-Meng Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix E. Testing on an Actual iPhone or iPod Touch

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.

SIGN UP FOR THE IPHONE DEVELOPER PROGRAM

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.

START YOUR XCODE

To test your iPhone applications on your device, you need to obtain an iPhone Development Certificate from the iPhone Developer Program Portal. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required