Firebase-ios-sdk: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

Created on 23 Sep 2020  路  6Comments  路  Source: firebase/firebase-ios-sdk

I get a lot of warnings when building my app

Build target GoogleSignIn of project Pods with configuration Debug
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'GoogleSignIn' from project 'Pods')

Build target FirebaseAnalyticsInterop of project Pods with configuration Debug
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FirebaseAnalyticsInterop' from project 'Pods')

Build target InjectableLoggers with configuration Debug
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'InjectableLoggers' from project 'InjectableLoggers')

Build target Firebase of project Pods with configuration Debug
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Firebase' from project 'Pods')

Build target FacebookLogin with configuration Debug
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FacebookLogin' from project 'Facebook')

Build target FirebaseCoreDiagnosticsInterop of project Pods with configuration Debug
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FirebaseCoreDiagnosticsInterop' from project 'Pods')
  • Xcode version: 12.0
  • Firebase SDK version: 6.23.0
  • Firebase Component: Firebase/Crashlytics
  • Component version: 6.23.0
  • Installation method: CocoaPods

Most helpful comment

@smamczak Thanks for the report.

This is an Xcode 12 issue for libraries that support an earlier version than is supported by that Xcode version. We'll address for Firebase in the next breaking change release coming in the next few months. See #6517.

In the meantime, a workaround is a Podfile post_install script. See details at https://github.com/CocoaPods/CocoaPods/issues/9884#issuecomment-696228403

The issue has been filed to Apple at FB8683743.

All 6 comments

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@smamczak Thanks for the report.

This is an Xcode 12 issue for libraries that support an earlier version than is supported by that Xcode version. We'll address for Firebase in the next breaking change release coming in the next few months. See #6517.

In the meantime, a workaround is a Podfile post_install script. See details at https://github.com/CocoaPods/CocoaPods/issues/9884#issuecomment-696228403

The issue has been filed to Apple at FB8683743.

+1

I solve it with this code, thanks! Add it at the end of the PodFile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
    end
  end
end
Was this page helpful?
0 / 5 - 0 ratings

Related issues

lorenzofiamingo picture lorenzofiamingo  路  3Comments

aschuch picture aschuch  路  3Comments

jaschaio picture jaschaio  路  3Comments

skuske picture skuske  路  3Comments

PierBover picture PierBover  路  3Comments