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

From Soma-notes
Jump to navigation Jump to search
Line 1: Line 1:
Below are instructions on how to get a first [https://developer.apple.com/xcode/swiftui/ SwiftUI] app running in [https://developer.apple.com/xcode/ 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:
[[File:Xcode-install.jpg|800px|Xcode install from the Mac App Store]]
==Creating a project==
[[File:Xcode-splash.jpg|800px|Xcode splash screen]]
[[File:AccountAdded.jpg|800px|Account Added]]
[[File:AccountAdded.jpg|800px|Account Added]]


[[File:Xcode-splash.jpg|800px|Xcode splash screen]]


[[File:Xcode-install.jpg|800px|Xcode install from the Mac App Store]]


[[File:Xcode-Setup-vc-1.jpg|800px|Xcode setup, version control 1]]
[[File:Xcode-Setup-vc-1.jpg|800px|Xcode setup, version control 1]]

Revision as of 23:56, 16 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

Xcode splash screen


Account Added


Xcode setup, version control 1

Xcode setup, version control 2

Project options

Xcode create project 1

Xcode create project 2

Xcode choosing platform

Xcode creating signing certificate 1

Xcode creating signing certificate 2

Xcode app template

Xcode adding account