Below are the instructions for installing YouCompleteMe on Mac OS X
brew install cmakecd ~/.vim/bundlegit clone https://github.com/Valloric/YouCompleteMe.gitmkdir YouCompleteMe/ycmbuildcd YouCompleteMe/ycmbuildcmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp/make ycm_core- Restart Vim
- Enjoy
This is not working on Mac M1 11.6 (also with tabnine/YouCompleteMe). Finally below command worked.
python3 install.py --cmake-path=/opt/homebrew/bin/cmake --system-libclang --all