Firebase pod install - pod 'Firebase/Database' - Required a higher minimum deployment target

后端 未结 8 1359
一整个雨季
一整个雨季 2020-12-06 09:47

I am trying to install Firebase/Database like Firebase doc https://firebase.google.com/docs/ios/setup#available_pods but when I tried I got issue.

[!] Unable         


        
8条回答
  •  鱼传尺愫
    2020-12-06 09:57

    I had the same problem.My error below

    [!] Unable to satisfy the following requirements:
    
    - `Firebase/AdMob` required by `Podfile`
    
    Specs satisfying the `Firebase/AdMob` dependency were found, but they required a higher minimum deployment target.
    

    Targets->general->deployment target Changed to 8.0

    My project deployment target starts from ios 6 Since it developed in older xcode version.For new updation in xcode 8 I made the deployment target from ios 8It works from me.

    After fix its working

    Installing Firebase (4.0.2) Installing FirebaseAnalytics (4.0.1) Installing FirebaseCore (4.0.2) Installing FirebaseInstanceID (2.0.0) Installing Google-Mobile-Ads-SDK (7.20.0) Installing GoogleToolboxForMac (2.1.1)

    The latest Firebase will support from ios 8.

提交回复
热议问题