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

终端执行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出现的错误解决)