Xcode
Xcode is Apple’s integrated development environment (IDE) that provides very powerful tools for developing applications and managing your workflow—from writing code to debugging—on your Mac.
Installing Xcode
-
First, you’ll need to download Xcode. The easiest way to get it is via Mac App Store, so you’ll need an Apple ID (no need to link it to a credit card, since Xcode is free). Open Mac App Store and search for Xcode. If you are unable to find it for some reason, click on this link.
NoteYou need macOS 10.12 (Sierra) or higher to download Xcode 8.3 from the Mac App Store. If you are running an older version of macOS, head to https://developer.apple.com/downloads and download Xcode 8.2 for Mac OS X 11.11 (El Capitan), Xcode 6.4 for Mac OS X 10.10 (Yosemite), Xcode 5.1.1 for Mac OS X 10.9 (Mavericks) or Xcode 4.6.3 for either Mac OS X 10.8 (Mountain Lion) or Mac OS X 10.7 (Lion). If you have an earlier version of Mac OS X and are unable to update it, head to that same url and download Xcode 3.2.6 if you are using Mac OS X 10.6 (Snow Leopard) and Xcode 3.1.4 if you are using Mac OS X 10.5 (Leopard) -
Click Get to start the download process (you’ll probably need to enter your Apple ID and password). The installation file is more than four gigabytes in size, so be prepared to wait longer than usual if you have poor Internet connection.
-
Once Xcode has finished downloading, it will be in your /Applications folder. No need to do anything else, it’s already installed!
Using Xcode
-
See https://eecs183.org/xcode for a guide for how to create a project and run your programs.