Chapter 3
The Nuts and Bolts of an Xcode Project
In This Chapter
Getting a handle on the Xcode project
Setting Xcode preferences
Building and Running an iPhone app
Getting inside the Simulator
Adding an application icon
As I explain in Chapter 2, to use Xcode to create an app, you need to create an Xcode project. An Xcode project includes all the files, resources, and information required to build your application. It is your partner in creating your application, and the sooner you make friends with it, the easier your life will become.
In this chapter, I show you how to create an Xcode project and then build and run your app in the Simulator.
Creating Your Project
Because developing an iPhone app requires you to work in an Xcode project, it’s time to create one. The app you’ll be building is called RoadTrip (and will also be the name of the project). The app, as I mention in the introduction, is like a travel guide on your iPhone. Here’s how it’s done:
1. Launch Xcode.
After you’ve ...
Get iPhone® Application Development For Dummies®, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.