cocoapods
我在更换固态硬盘后尝试重新安装在MacBook Air中,现在出现此波纹错误。
sudo gem install cocoapods
构建本机扩展。这可能需要一些时间...错误:安装cocoapods时出错:错误:无法构建gem本机扩展。
current directory: /Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2/ext/ffi_c
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20200308-27204-6l0a5q.rb extconf.rb mkmf.rb在/ System / Library上找不到ruby的头文件/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/include/ruby.h
extconf失败,退出代码1
宝石文件将保留安装在/Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2中进行检查。结果记录到/Library/Ruby/Gems/2.3.0/extensions/universal-darwin-18/2.3.0/ffi-1.12.2/gem_make.out