How to Setup for iOS Development

How to Download and Setup Xcode 8 for iOS Development


Step 0: Check your mac OS Version

We will be using Xcode 8 to program iOS apps and run them in Xcode’s built in iOS simulator.

Xcode is an Integrated Development Environment (IDE) developed by Apple and the vast majority of iOS developers rely on it for making iPhone or iPad applications. Xcode 8 has a minimum system requirement of OS X 10.11.5 or above (El Capitan) or ideally you should be running macOS Sierra (10.12).

If you are still running an earlier OS such as Mavericks, Yosemite etc, you will need to update your OS. Have a look on Apple’s website for instructions on how to do so.

To check your current OS version, go to the apple icon at the top left of your Mac 🍎  → About This Mac

Install Xcode Tutorial 1

 

You should see a screen similar to this:

 

macOS Sierra for Xcode

Check the OS is either El Capitan 10.11.5 or above or macOS Sierra 10.12. If your version is lower than this, head over to the mac App Store and you can upgrade your operating system to macOS Sierra for free.

 

Step 1: Open the App Store

Once you’re sure you are running the correct version of the mac operating system, you can get started with downloading Xcode 8 through the Mac App Store. Open the App Store app on your Mac. By default the App Store is in the Dock. You can also find it in your Launchpad.

App Store Icon

Step 2: Search for XCode

In the search field in the top-right corner, type Xcode and press the Return key.

XCode Install Search

 

 

Step 3: Install Xcode

Xcode is a free application developed by Apple, so just click the “Get” button

App Store Get Button

and start the installation process. Xcode is several gigabytes in size so downloading it could take a while. Xcode is downloaded into your /Applications directory.

 

Step 4: Launch Xcode

Launch Xcode. Do you see the Welcome to Xcode window and the version is 8.0 or above? If yes, great. We’re all done!

how to use Xcode 8

 

Step 5: Register as an iOS Developer (optional)

Once you’re ready to submit apps to the App Store, you will need to enrol for the iOS Developer Program.

You can obtain a developer license from Apple and it costs $99 per year. Unless you are ready to release your app to the App Store and start clawing back that fee, it is not recommended to start paying Apple right away. But when you are ready to start the registration process, go to the iOS Developer Program Center and enrolment should only take a few minutes.

 

Troubleshooting

These are some of the ways installation can go wrong. If you’re having problems, check if one of these fixes help to solve your problem.

  • You don’t have enough space on your Mac hard-drive. Xcode is a large piece of software, make sure you have at least 10GB free on your hard-drive before attempting installation.
  • You have an earlier version of OSX installed. Xcode 8 can only be installed on a Mac running El Capitan (OS X 10.11.5 or macOS Sierra). Go back to Step 0 and check to make sure you have upgraded to macOS Sierra as your operating system before you attempt to install Xcode. You can update your OS through the Mac App Store for free or check out Apple’s website for more details. www.apple.com/uk/osx/whats-new/
  • Please do not install a beta version of Xcode as it will impact installation of your apps on to a physical device. Follow our instructions above and you should have no problems.