Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #6533

Closed
smamczak opened this issue Sep 23, 2020 · 6 comments

Comments

@smamczak
Copy link

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
@google-oss-bot
Copy link

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 smamczak changed the title Showing All Messages 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. 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. Sep 23, 2020
@paulb777
Copy link
Member

@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 CocoaPods/CocoaPods#9884 (comment)

The issue has been filed to Apple at FB8683743.

@prabakaran-muthusamy
Copy link

Me also having the same warning, kindly refer this
https://www.jessesquires.com/blog/2020/07/20/xcode-12-drops-support-for-ios-8-fix-for-cocoapods/

@tkirby
Copy link

tkirby commented Oct 11, 2020

+1

@moshTech
Copy link

moshTech commented Oct 17, 2020

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

@digira1n
Copy link

This solved it for me:

flutter/flutter#58200

@firebase firebase locked and limited conversation to collaborators Oct 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants