Mobile App Dev 2021W: Getting started with Xcode: Difference between revisions

From Soma-notes
No edit summary
No edit summary
Line 10: Line 10:


==Creating a project==
==Creating a project==
Once you have Xcode installed, run it.  When it starts, you should see a splash screen, as shown below. 


[[File:Xcode-splash.jpg|800px|Xcode splash screen]]
[[File:Xcode-splash.jpg|800px|Xcode splash screen]]
If you don't see this screen, don't worry, as everything in this initial screen is available through the File menu.
[[File:Xcode-create-project-1.jpg|800px|Xcode create project 1]]
[[File:Xcode-create-project-2.jpg|800px|Xcode create project 2]]




Line 24: Line 33:
[[File:Xcode-ProjectOptions.jpg|800px|Project options]]
[[File:Xcode-ProjectOptions.jpg|800px|Project options]]


[[File:Xcode-create-project-1.jpg|800px|Xcode create project 1]]
[[File:Xcode-create-project-2.jpg|800px|Xcode create project 2]]


[[File:Xcode-choosing-platform.jpg|800px|Xcode choosing platform]]
[[File:Xcode-choosing-platform.jpg|800px|Xcode choosing platform]]

Revision as of 03:59, 17 January 2021

Below are instructions on how to get a first SwiftUI app running in Xcode and ready to install on one of your iOS devices.

To follow this, you'll need a machine running MacOS Catalina or Big Sur and an Apple ID. You do not need a developer account; however, make sure that your device uses the same Apple ID as the one you configure below.

Installing Xcode

First, you need to download Xcode from the Mac App Store. Once you find it, installing it should be as simple as clicking on the install button. Once installed, you should see a screen that looks something like this:

Xcode install from the Mac App Store

Creating a project

Once you have Xcode installed, run it. When it starts, you should see a splash screen, as shown below.

Xcode splash screen

If you don't see this screen, don't worry, as everything in this initial screen is available through the File menu.

Xcode create project 1

Xcode create project 2


Account Added


Xcode setup, version control 1

Xcode setup, version control 2

Project options


Xcode choosing platform

Xcode creating signing certificate 1

Xcode creating signing certificate 2

Xcode app template

Xcode adding account