美文网首页
iOS开发项目导入已安装的CocoPods出现的错误解决

iOS开发项目导入已安装的CocoPods出现的错误解决

作者: 大信 | 来源:发表于2019-01-18 13:28 被阅读0次

终端执行pod install的时候出现RuntimeError - [Xcodeproj] Unknown object version.

.........

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:

.........

可能的问题及解决:

1.xcode版本,与现在CocoaPods 的版本不匹配 

                    终端执行     $ gem install cocoapods –pre

                                       $ pod install

2.镜像路径被屏蔽

                    $ gem sources --removehttps://gems.ruby-china.org/删除原来的

                    $ gem sources -ahttps://gems.ruby-china.com/换上新的

                    $ pod install

3.删除cocopod,重新安装

相关文章

网友评论

      本文标题:iOS开发项目导入已安装的CocoPods出现的错误解决

      本文链接:https://www.haomeiwen.com/subject/rmlthttx.html