Higher minimum deployment target' error when installing Firebase Crash Reports Pods for iOS
use deployment as 8.0 or 8.1 or 9.0
How to know the minimum deployment target a pod needs?
Check the published podspec to see the definitive version. For example, you can see that version 8.10.0 of Firebase/AppCheck requires iOS 11.0 here.
For Firebase/AppCheck in particular, the podspec has been updated here to support installation back to iOS 9 and that update will release with 8.11.0 next week.
Firebase pod install - pod 'Firebase/Database' - Required a higher minimum deployment target
This is how I fixed it.
Step 1
Install Regular Firebase - pod 'Firebase', '>= 2.5.1'
Step 2
Update - pod update
*At this point it will take a good couple minutes to update. You should see something like this.
Update all pods
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing Firebase 3.2.0 (was 3.2.0)
Using FirebaseAnalytics (3.2.0)
Installing FirebaseAuth (3.0.2)
Using FirebaseDatabase (3.0.1)
Using FirebaseInstanceID (1.0.6)
Using GoogleInterchangeUtilities (1.2.1)
Installing GoogleNetworkingUtilities (1.2.1)
Using GoogleSymbolUtilities (1.1.1)
Using GoogleUtilities (1.3.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 4 dependencies from the Podfile and 10
total pods installed.
Step 3
Now you should have Firebase 3. So you can add frameworks like such in your pod file then pod update
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'xMarket' do
end
target 'xMarketTests' do
end
target 'xMarketUITests' do
end
pod 'Firebase', '>= 2.5.1'
pod ‘Firebase/Core’
pod ‘Firebase/Database’
pod ‘Firebase/Auth’
Good luck!
Cloud FireStore minimum deployment target
I was adding to an existing project so I did
pod repo update
pod install
pod update
it that order and it worked.
I'm not sure why this ordered worked, put my guess it would have something to clearing/reset something somewhere in the firebase add ons.
Specs satisfying the `Firebase/Functions` dependency were found, but they required a higher minimum deployment target
Remove the '~> 4.6.0'
.
FirebaseFunctions
was introduced after Firebase 4.6.0 and is thus incompatible with the version restriction pod 'Firebase/Messaging' ,'~> 4.6.0'
.
CocoaPods could not find compatible versions for pod Firebase/Core” | cloud_firestore, Flutter
My setup: VS Code, Flutter
If you don't have Podfile.lock
file and pod update
doesn't help, try this:
- Go to
ios/Pods/Local Podspecs
directory in your project - Check every
json
file to find highest required ios version. Mine was"ios": "10.0"
in some of them - Go back to
ios/
directory - Open
Podfile
file - Uncomment
# platform :ios, '9.0'
and replace9.0
with version from 2. step, for example10.0
.# platform :ios, '9.0'
>platform :ios, '10.0'
- Run
pod install
and the error should be gone
Related Topics
Ios: Usage of Self and Underscore(_) with Variable
Open App from Sms with My Url Scheme as a Link
Why Is Uiwebview Cangoback=No in iOS7
iOS Permission Alerts - Removing or Suppressing
How to Group Array of Objects by Date in Swift
Nspredicate for Array of Dictionaries
Why Must a Protocol Operator Be Implemented as a Global Function
Application Identifier Entitlement Value Has Changed
Set<Nsobject>' Does Not Have a Member Named 'Anyobject." - Xcode 6.3
Uibutton with Single Press and Long Press Events Swift
Load a .Tmx (Tiled Map) in Sprite Kit
Submitting iOS App to App Store Application Identifier Invalid
Add Uitapgesturerecognizer to Uitextview Without Blocking Textview Touches