Xcode
Command Line Tools
- Launch Terminal app by using Spotlight search, type in
terminal
. - Then type the followings in Terminal:
xcode-select --install
- It'll prompt you to install the command line developer tools.
- Click Install to continue.
- Click Agree on the Command Line Tools License Agreement.
If you do not see the prompt but see this output from the Terminal:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
It means you have installed it already.
Xcode
- Download Xcode from the App Store or the Apple developer website.
- Install Xcode on your Mac.
- Just drag the Xcode in your Applications folder.
- Run Xcode at once, agree to the Xcode and iOS SDK License Agreement.