To create your first project, click on “File > New > Project” in the menu bar. When you do so, you will be presented with a number of application templates.
Choose “Single View Application”, and click the „Next“ button.
On the next screen you can enter several options for your projects, most of which you can keep default. You can use any name as your ”Product Name“, but for this tutorial, use DemoApp
. You can also pick any name as ”Organization Name“, but this is mostly likely the name of your company. The organization identifier is also known as a bundle prefix and is a way to uniquely identify your company. It is usually the reverse domain name of your company. The bundle identifier is then generated automatically. Keep ”Swift“ as your programming language, ensure devices is set to „Universal” and to make things simple, keep “Use Core Data”, “Include Unit Tests” and “Include UI Tests” unchecked.
If the “Team” drop-down shows “None”, you need to select a team from the drop-down list. A team has already been setup, you don’t need to create one. Once a team is set, Xcode will be able to automatically sign your applications.
Code signing is a security technology that you use to certify that an app was created by you. Once an app is signed, the system can detect any change to the app - whether the change is introduced accidentally or by malicious code. You participate in code signing as a developer when you obtain a signing identity and apply your signature to apps that you ship. A certificate authority (often Apple) vouches for your signing identity.
Field Name |
Value |
Product Name |
DemoApp |
Team |
Pick a team from the drop-down |
Organization Name |
SAP |
Organization Identifier |
com.sap.tutorial.swift |
Language |
Swift |
Devices |
Universal |
After entering the project options, all that is left is to decide where you would like to store the project. You could save your project to the desktop if you want, to be able to find it again easily.
When you save the project, Xcode will create all the files you need according to the template you selected, and will show you the development environment to start developing your app.