'Higher minimum deployment target' error when installing Firebase Crash Reports Pods for iOS

49,183

Solution 1

enter image description here

use deployment as 8.0 or 8.1 or 9.0

Solution 2

Make sure to change the minimum deployment target in Podfile so for example if the minimum deployment target is meant to be iOS 9, it should be changed to that minimum

platform :ios, '9.0'
....
....
....

Solution 3

Updating your podfile platform to platform :ios, '11.0' will fix the issue

Solution 4

None of the answers listed above fixed it for me. Changing to even the latest iOS target version did not work. What worked for me was this:

pod install --repo-update

Solution 5

Make sure to update the platform value in ios/Podfile

platform :ios, '<minmum_version_you_want_to_support_for_pods>'

enter image description here

Share:
49,183

Related videos on Youtube

user2181948
Author by

user2181948

Updated on October 28, 2021

Comments

  • user2181948
    user2181948 over 2 years

    I'm attempting to install the Firebase Crash Reporting Pod for iOS. The core Firebase Pod installs fine, however when installing Crash Reporting, I get the following error via the terminal:

    Specs satisfying the `Firebase/Crash` dependency were found, but they required a higher minimum deployment target.`
    

    I've tried workarounds from other similar threads (eg. Firebase pod install - pod 'Firebase/Database' - Required a higher minimum deployment target), but still get the same error - is there another possible workaround? What is the minimum iOS version supported by the Firebase SDK?

  • user2181948
    user2181948 almost 8 years
    Thanks! 8.0 works. Is the minimum deployment target documented anywhere on Firebase?
  • funkybro
    funkybro almost 4 years
    how can we discover what that version is? Cocoapods should tell us.
  • Adnan
    Adnan almost 3 years
    uh i guess we should just keep trying until we get it right, bcz they dont know how to write documentations!!
  • xhinoda
    xhinoda over 2 years
    October 2021: The doc say the minimum version is 10.0 or later
  • Paul Beusterien
    Paul Beusterien over 2 years
    Updated. Thanks
  • paneer_tikka
    paneer_tikka over 2 years
    fwiw, just tried this on a project with Xcode 13.1 and bumping up from '10.0' to '12.0' and it worked.
  • Aidin
    Aidin about 2 years
    for me manual update of platfrom :ios, '12.0' in Podfile + this command in the same directory as the Podfile fixed it!
  • ch271828n
    ch271828n about 2 years
    same case here for Sentry