[!] 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!
Looking for related issues on cocoapods/cocoapods...
- RuntimeError - [Xcodeproj] Unknown object version.
https://github.com/CocoaPods/CocoaPods/issues/7697 [closed] [20 comments]
3 days ago
- Unknown object version
https://github.com/CocoaPods/CocoaPods/issues/7760 [closed] [1 comment]
3 weeks ago
- RuntimeError - [Xcodeproj] Unknown object version. 🌈
https://github.com/CocoaPods/CocoaPods/issues/7712 [closed] [9 comments]
5 weeks ago
and 38 more at:
原因:就是你的xcode版本和现在CocoaPods 的版本问题不匹配 比如你用xcode8 你的cocoaPods 版本是1.0.1 . 就有可能出现此类问题。因为xcode8需要cocoaPods1.1.0.
解决方法:
就是更新cocoaPods的版本 ,在终端执行如下命令gem install cocoapods --pre,然后在相对应podfile文件所在路径下执行pod install 即可。
https://blog.csdn.net/miaopf123/article/details/70492411
网友评论