In this lesson, we will quickly learn how to create a brand new project in Xcode
Let’s get started!
If you haven’t already downloaded Xcode, download it by clicking here.
This link will direct you to Mac App Store, where you can start installing Xcode.
Once the installation is finished, open Xcode.
- You will see the Welcome to Xcode window. To start a brand new project, click Create a new Xcode project as shown in the image below.
- Next visible Xcode will prompt you to select the platform you want to develop on and the type of project you want to create. By default, Single View Application is selected for iOS platform like so:
Simply click next on the bottom right of this window.
- The next screen will prompt us to add a few details for this project. You can choose any name for Product Name field. I have chosen None for Team, but to code-sign the application, you would require a team for which you need to create an Apple developer Account. For now, it is fine if we choose None since we are not deploying our application yet. Next enter the name of your organization. If you don’t have an organization, simply type organization or enter your name. For this project, I have selected Swift Programming Language. Put check on Use Core Data/Unit Tests/UI Tests (More on this in future tutorials).
- Finally, you will be asked to select the location where you want this project to be on your Mac.
I have selected Desktop for this tutorial. You can create a separate folder where you want to save all your projects. Hit Create.
- Congratulations! You have now created your first project if you see the screen below:
To make sure everything went well, click on the play button on the top left!
You will see an empty Screen in Simulator, which means you have successfully created your first running project!
This is the end of this tutorial! In future tutorials, we will dive into basics of Xcode and gradually proceed to more complex topics of iOS Development.