升级cocoapods 的“mkmf.rb can't find header files for ruby”问题

分四步:

sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
sudo xcodebuild -license accept
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

你可能感兴趣的:(升级cocoapods 的“mkmf.rb can't find header files for ruby”问题)