github.com/kaituanwang/hyperledger@v2.0.1+incompatible/docs/source/tutorial/installxcode.md (about) 1 # Install Xcode 2 3 If your Mac OS is running Mojave, you will need to install Xcode. 4 5 * Install Xcode from this [website](https://developer.apple.com/xcode/). 6 7 * Accept the Terms and Conditions. 8 9 * Ensure that the Xcode app is in the `/Applications` directory. Do not put it 10 in `/Users/{user}/Applications)`. 11 12 * Point ``xcode-select`` to the Xcode app Developer directory using the 13 following command: 14 15 ``` 16 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer 17 ``` 18 19 **Note**: Make sure your Xcode application path is correct. 20 * Xcode: `/Applications/Xcode.app/Contents/Developer` 21 * Xcode-beta: `/Applications/Xcode-beta.app/Contents/Developer` 22