O'Reilly logo

Beginning iOS 4 Application Development 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 A. Testing on an Actual Device

Although the iPhone Simulator is a very handy tool that enables you to test your iPhone/iPad 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 application 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, or iPad, such as the accelerometer, gyroscope, 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 applications on a real device, be it the iPhone, iPod touch, or iPad. In addition, you will also learn how to prepare your application for submission to the App Store.

Signing Up for the iPhone Developer Program

The first step toward testing your application 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 who want 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.

Obtaining the UDID of Your Device

To test ...

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