安装fastlane出现ERROR: Failed to build gem native extension.问题

之前安装fastlane的时候一直出现这个问题
ERROR: Error installing fastlane:ERROR: Failed to build gem native extension. Building has failed. See above outputformore information on the failure.extconf failed,exitcode 1Gem files will remain installedin/Library/Ruby/Gems/2.3.0/gems/unf_ext-0.0.7.6forinspection.Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-18/2.3.0/unf_ext-0.0.7.6/gem_make.out
刚开始的时候各种百度,都没解决。后边想了一下会不会是系统的原因,果断更新到最新的版本(10.15.1 ),然后在运行 sudo gem install -n /usr/local/bin fastlane 就OK了

你可能感兴趣的:(安装fastlane出现ERROR: Failed to build gem native extension.问题)