今天在老项目中执行 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