1. Creating our first app

Press Command (⌘) + Space together on your Mac computer. It opens up Spotlight search. Search 'Xcode' there, and open Xcode. It opens the following window:

Click on 'Create a new Xcode project.' You will see the following:

Make sure you select iOS from the top template chooser. Do not choose multiplatform or macOS.

Select App and press Next.

Give your project a name. If you have not already signed in to an Apple ID, sign in here and then select your Personal Team. Put your preferred organization identifier (reversed domain name order). For example, you can put com.nuios. Select 'Storyboard' as the interface (do not select 'SwiftUI'). Select the language 'Swift.' And then press Next. You'll see:

Here is where you'll choose where to save your project. Click on Create. It will create a new project for you, and you will see the following:

Here, you need to select a simulator. Please click on the top middle panel as indicated in the following image:

Select an iPhone simulator of your choice. Do not select 'This Mac.'

Now, your first project is ready to be built.

Press the Play ▶️ button from the top left corner.

It will open up the Emulator with an empty screen.

If you can see the emulator, you have successfully built your first app. We will start building on it.

Last updated

Was this helpful?