macOS Ventura下CocoaPods-Keys是否不支持?执行pod install遇弃用报错
CocoaPods-Keys 在 macOS Ventura 上的弃用警告问题
执行pod install时触发如下弃用警告:
warning: 'SecKeychainOpen' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
问题说明
这个警告不代表CocoaPods-Keys完全不支持macOS Ventura。本质是它依赖的SecKeychainOpenAPI在macOS 12.0(Monterey)就已被标记为弃用,而Ventura(13.x)属于该版本之后的系统,自然会触发这条提示。
解决建议
- 优先升级CocoaPods-Keys到最新版本,官方大概率已替换弃用的API,新版本可消除该警告
- 若暂时无法升级,该警告不会阻止项目正常构建,但由于API后续可能被移除,建议尽早跟进版本更新
内容的提问来源于stack exchange,提问作者Ron Gahlot
相关产品推荐
相关产品推荐

