当前xcode版本是10.1,更新了一个项目一直报错:
一大推当中看到下面截图的error:
RuntimeError - [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa.

最好的解决办法就是升级 CocoaPods.:
gem install cocoapods --pre
可是接着报错:

没办法, 只好换源.
gem sources --add https://gems.ruby-china.com --remove https://gems.ruby-china.org
查看当前的源:gem sources -l
换源之后再升级pods:
gem install cocoapods --pre
pod --version
还是没解决最后没办法把Ruby也升级了:
sudo gem update --system
网友评论