Skip to content

Instantly share code, notes, and snippets.

@vikbert
Last active April 7, 2018 00:51
Show Gist options
  • Select an option

  • Save vikbert/28e01f77dcc6523ab24b87353224bc36 to your computer and use it in GitHub Desktop.

Select an option

Save vikbert/28e01f77dcc6523ab24b87353224bc36 to your computer and use it in GitHub Desktop.
[xcode] install xcode on mac OS #xcode, #mac

Error message after upgrade MacOS:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun.

handling error: install macvim vim

brew uninstall vim macvim
brew uninstall python3
brew uninstall --ignore-dependencies python3

brew install vim --with-python3
brew install macvim --with-override-system-vim

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license accept

brew unlink vim
brew link --overwrite --force macvim
which vim # /usr/local/bin/vim

cd /Users/xzhou/k-vim/bundle/YouCompleteMe
brew install cmake
sudo python3 install.py --clang-completer --js-completer

References URLs: ycm-core/YouCompleteMe#914

Install xcode on mac

xcode-select --install

StripNIB English.lproj/MainMenu.nib failed

If you haven't launched Xcode after updating it, do so now. Xcode will ask for permission to install additional components. Let it install those components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment