Errors when installing cocoapods with gem

后端 未结 7 1991
旧巷少年郎
旧巷少年郎 2021-02-04 01:41

I am using macOS Mojave and when I try to install cocoapods using gem I am getting the following error.

Building native extensions. This could take a whi

7条回答
  •  北海茫月
    2021-02-04 02:27

    sudo xcode-select --switch /Library/Developer/CommandLineTools
    
    ruby -rrbconfig -e 'puts RbConfig::CONFIG["rubyhdrdir"]'
    

提交回复
热议问题