Xcode 9.3 pod install update 错误

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:

https://github.com/CocoaPods/CocoaPods/search?q=%5BXcodeproj%5D+Unknown+object+version.&type=Issues

If none exists, create a ticket, with the template displayed above, on:

https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket:

https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!

先查看pods版本:  pod --version

原因:这是因为你的 Xcode 版本和 CocoaPods 的版本不匹配,你需要更新你的 CocoaPods 
解决方法:终端输入命令 $ gem install cocoapods --pre

如果更新完还是不行  打开工程  这里的Project Format 默认为Xcode 9.3-compatible,将它修改9.3以下即可

 

 

 

posted @ 2018-05-23 14:42  Allence  阅读(503)  评论(0编辑  收藏  举报