70

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?

Community
  • 1
  • 1
user2181948
  • 1,646
  • 3
  • 33
  • 60

13 Answers13

70

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'
....
....
....
Mohamed Saleh
  • 2,881
  • 1
  • 23
  • 35
47

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
jpincheira
  • 1,028
  • 10
  • 11
46

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

BadMask121
  • 556
  • 5
  • 3
24

enter image description here

use deployment as 8.0 or 8.1 or 9.0

wg_hjl
  • 535
  • 3
  • 9
20

Make sure to update the platform value in ios/Podfile

platform :ios, '<minmum_version_you_want_to_support_for_pods>'

enter image description here

Shashank Malviya
  • 670
  • 6
  • 17
16

I have removed Podfile.lock and run pod install --repo-update

Luciano
  • 159
  • 1
  • 3
5

Steps to solve this issue.

1.) Navigate to your project folder using your terminal or iterm.
2.) Open your project podfile by typing :  open podfile
3.) In your podfile edit the deployment target below which is the 8.0.
      platform :ios, '8.0'  
 You may replace it with higher deployment target like 9.0, 9.1, 10.0 or higher.
handiansom
  • 783
  • 11
  • 27
5

Just replace platform :ios, '10.0' or the right latest version.

Atlas
  • 61
  • 1
  • 1
4

In my case iOS 10 as a target was fine. All I had to do was:

pod update Firebase/Firestore

This updated most packages to greater versions and fixed the problem.

Va5ili5
  • 749
  • 8
  • 20
4

check platform :ios, 'VERSION' in your

/node_modules/react-native/template/ios/Podfile

update same version in your pod file fix the issue for me

Siddharth Chauhan
  • 1,289
  • 8
  • 15
1

Currently, the minimum iOS version supported by Firebase is 10.0. It's documented here.

Paul Beusterien
  • 27,542
  • 6
  • 83
  • 139
1

Another scenario where this problem can occur is, if you have extensions for your app and if you specify different versions in main target and extension's target you will get this error. Make sure you have the same version of pod specified in the main target as well as in the extension's target.

Rizwan Ahmed
  • 919
  • 13
  • 19
1

Open ios folder and find Podfile, then change the minimum iOS version to 11.0 as below

platform :ios, '11.0'
Fakhriddin Abdullaev
  • 4,169
  • 2
  • 35
  • 37