How to create a new project in Xcode

Posted by

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.

  1. 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.
    Screen Shot 2019-05-19 at 9.35.20 AM.png
  2. 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:Screen Shot 2019-05-19 at 9.40.26 AM.png

    Simply click next on the bottom right of this window.

  3. 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).
    Screen Shot 2019-05-19 at 9.47.06 AM.png
  4. Finally, you will be asked to select the location where you want this project to be on your Mac.Screen Shot 2019-05-19 at 9.47.22 AM.png

    I have selected Desktop for this tutorial. You can create a separate folder where you want to save all your projects. Hit Create.

     

  5. Congratulations! You have now created your first project if you see the screen below:Screen Shot 2019-05-19 at 10.02.38 AM.png

To make sure everything went well, click on the play button on the top left!

Screen Shot 2019-05-19 at 10.04.36 AM.png

You will see an empty Screen in Simulator, which means you have successfully created your first running project!

Screen Shot 2019-05-19 at 10.06.49 AM.png

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.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s