[英]Xcode 6 - Save for iOS App Store Deployment requires access to the development team?
[英]Error when distributing app through Xcode to App Store Connect - requires iOS Deployment Target of 3.0 or higher
通过 Xcode 分发我的应用程序时出现错误。 我查看了构建设置,但找不到问题。 我的应用通过 Cocoapods 导入了一些 Firebase 模块。
构建设置中的所有部署目标都是最新的操作系统。
错误全文:
This bundle is invalid. Applications built for more than one architecture require an iOS Deployment Target of 3.0 or later. With error code STATE_ERROR.VALIDATION_ERROR.90081 for id c8ae9ab9-f501-4115-bb3d-32f96ca47d0e
我的应用程序(我认为)仅针对 iOS 而不是其他 Apple 操作系统配置,我找不到任何我指定如此低的部署目标的地方。 我到处都是最新的操作系统,或 iOS14/15。
在我今天的搜索中,像 Cocoapods 这样的接缝可能会导致此问题,但我无法找到根本问题。 作为参考,这是我的项目使用的 Pod 文件:
target 'AppName' do
use_frameworks!
# Pods for AppName
pod 'Firebase/Firestore'
pod 'Firebase/Auth'
pod 'FirebaseUI/Auth'
pod 'FirebaseUI/Email'
pod 'FirebaseUI/Phone'
pod 'FirebaseFirestoreSwift', '> 7.0-beta'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/Analytics'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
end
end
end
end
在将 firebase spm 从“下一个专业”更改为“主要”后,我遇到了同样的问题。 我已更改为“下一个专业”,问题已解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.