iOS 部署目标设置为 7.0,但此平台支持的部署目标版本范围为 8.0 到 12.1。 (在目标“反应”中)

Posted

技术标签:

【中文标题】iOS 部署目标设置为 7.0,但此平台支持的部署目标版本范围为 8.0 到 12.1。 (在目标“反应”中)【英文标题】:The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'React') 【发布时间】:2019-08-26 05:32:03 【问题描述】:

我更改了我的 ios 部署目标版本 12,但仍然出现以下错误 AzureDevops “iOS 部署目标设置为 7.0,但此平台支持的部署目标版本范围是 8.0 到 12.1。”

❌ 错误:找不到“ios.kapiling”的配置文件:Xcode 找不到任何与“ios.kapiling”匹配的 iOS 应用程序开发配置文件。自动签名已禁用,无法生成配置文件。要启用自动签名,请将 -allowProvisioningUpdates 传递给 xcodebuild。 (在目标“community_app”中)

❌错误:多个命令产生'/Users/vsts/Library/Developer/Xcode/DerivedData/community_app-fhymwcmnzwnuwactrmznowzhpgqo/Build/Intermediates.noindex/ArchiveIntermediates/community_app/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libReact.a':

The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'React')
The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'RNGestureHandler')
The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'AirMaps')
The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'RNImageRotate')
The iOS deployment target is set to 6.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'GoogleUtilities')
The iOS deployment target is set to 4.3, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'nanopb')
The iOS deployment target is set to 6.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'GoogleAppMeasurement')
The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'Protobuf')
The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'ReactNativeFingerprintScanner')

【问题讨论】:

任何更新或解决方案? 【参考方案1】:

我能够在本地环境中解决此问题,更新我的反应库,然后更新 pod。

yarn upgrade react-native-gesture-handler
...

cd ios/
pod update

【讨论】:

以上是关于iOS 部署目标设置为 7.0,但此平台支持的部署目标版本范围为 8.0 到 12.1。 (在目标“反应”中)的主要内容,如果未能解决你的问题,请参考以下文章

Xcode 12 和 Algolia 搜索客户端?

在 SDK 中支持 Swift,部署目标为 7.0

React Native - iOS 模拟器部署目标“IPHONEOS_DEPLOYMENT_TARGET”设置为 7.0

Flutter - iOS 模拟器部署目标“IPHONEOS_DEPLOYMENT_TARGET”设置为 7.0 && 无法找到构建输入文件 GoogleService-Info.pl

如何更改 iPhone 部署目标

我的应用程序的部署目标