2025-07-01

今天在老项目中执行 pod install 报错如下

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=%5BXcodeproj%5D+Unable+to+find+compatibility+version+string+for+object+version+%6070%60.&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...
- CocoaPods don't install in my project
https://github.com/CocoaPods/CocoaPods/issues/12764 [open] [3 comments]
a week ago

- CocoaPods don't install in my project
https://github.com/CocoaPods/CocoaPods/issues/12735 [open] [9 comments]
17 Apr 2025

- ArgumentError - [Xcodeproj] Unable to find compatibility version string for object version `70`.
https://github.com/CocoaPods/CocoaPods/issues/12671 [closed] [37 comments]
2 weeks ago

and 4 more at:
https://github.com/cocoapods/cocoapods/search?q=%5BXcodeproj%5D%20Unable%20to%20find%20compatibility%20version%20string%20for%20object%20version%20%6070%60.&type=Issues&utf8=✓

[!] 'YXAlog_iOS' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the library author to notify them of this security issue.

解决方法:选择xcode16.0,然后重新pod项目


image.png
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容