O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

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

Running the App in the Simulator

Launching the app in the built-in simulator that comes with Xcode is quite simple. In the top-right corner of Xcode, you will see a big Run button, and next to that, something called a Scheme, which enables choosing which device is targeted (see Figure 9.9). Click the right side of the scheme and choose the iPhone simulator. If you have a registered physical device connected to your computer, it will also show up in this list. See Appendix B for how to register physical devices to run your apps.

Image

Figure 9.9 Choosing the iPhone simulator to run the app.

Click the Run button on the top left of the Xcode toolbar and ...

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