First App.
Your learning space A little progress, every day
CHAPTER 03Lesson 9 of 36

Create your iPhone project

Make one home for the files that become your app.

In Xcode7 min read & do
By the end of this lesson

Create a basic iPhone project and know where it is saved.

Let’s do this

  1. 1
    In Xcode

    Start a new iPhone app

    On the welcome screen choose Create New Project. If your version shows a New Project menu, choose App. In the template picker choose iOS, then App, and continue.

  2. 2
    In Xcode

    Choose the starting options

    Use a short version of your app name for Product Name. Choose SwiftUI for the interface and Swift for the language if those fields are shown. Start with no storage; Codex will add it in the saving lesson. Leave the team empty if you are only running the simulator.

  3. 3
    In Xcode

    Give the app its own identifier

    Use an Organisation Identifier based on your own name, such as com.yourname. Xcode combines it with the product name to create a Bundle Identifier. This is an ID for the app, not a website you must buy. Use your own value, not Apple’s sample.

  4. 4
    In Xcode

    Save it somewhere easy to find

    Create a local folder for your apps, then save the project inside it. Note the exact folder name. If Xcode offers to create a Git repository, leave that selected: it can keep checkpoints. You do not need a GitHub account to start.

Xcode template picker with iOS, App and Next highlighted.View larger
Apple’s example: choose iOS at the top, then App, then Next. This is the first thing Xcode asks you.Screenshot source (opens a new tab)
New project options with SwiftUI, Swift, no tests and no storage selected.View larger
Apple’s example: name the app and choose its options. Use your own app name and identifier. Like Apple’s example, start with no storage, Codex adds it later.Screenshot source (opens a new tab)

A message for Codex

I have created a native iPhone project for my first iPhone app in Xcode. Once I open its folder in Codex, inspect the existing project and explain which file starts the app and which file shows the first screen. Keep the existing project. Do not create another project or add an online service.

What you should see

Xcode shows a project window and a starter screen. In Finder, you can locate its folder and the file whose name ends in .xcodeproj.

A couple of words, explained

Project
A folder of files and settings that belong to one app.
Bundle Identifier
The unique label Apple uses to recognise your app.

If you get stuck

Go at your own pace. There is no test to pass.

Checked 7 September 2026. Screens can change; the official guides below have the latest steps.

Create an iPhone project