当使用CocoaPods开发Cordova原生iOS应用程序时,可能会遇到App Store Connect ITMS-90809错误。这个错误通常是由于使用了不兼容的动态库引起的。以下是解决该错误的一种方法:
sudo gem install cocoapods
pod init
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
end
pod install
这个解决方法通过将BUILD_LIBRARY_FOR_DISTRIBUTION设置为'YES'来确保CocoaPods生成兼容的动态库。这也是App Store Connect接受的要求之一。
请注意,您可能还需要更新Cordova和相关插件到最新版本,以确保与CocoaPods的兼容性。如果仍然遇到问题,请查看相关插件的文档或与插件作者联系以获取更多帮助。
上一篇:App Store Connect iOS app 请求添加 macOS 选项。
下一篇:App Store Connect 拒绝了构建,因为缺少 NSBluetoothAlwaysUsageDescription 键。