由Firebase / AdMob导致的Pod过时故障

时间:2018-09-19 17:10:59

标签: xcode cocoapods

在Swift 4.2发行后,我试图找到新的pod版本。所以我打电话给

  

pod过时了

终端中的

。根据这种错误消息发生:

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/AdMob":
   In Podfile:
      Firebase/AdMob

Specs satisfying the `Firebase/AdMob` dependency were found, but they required a higher minimum deployment target.
CocoaPods could not find compatible versions for pod "GoogleUtilities/MethodSwizzler":
In Podfile:
Firebase/AdMob was resolved to 5.8.0, which depends on
  Firebase/Core (= 5.8.0) was resolved to 5.8.0, which depends on
    FirebaseAnalytics (= 5.1.2) was resolved to 5.1.2, which depends on
      GoogleUtilities/MethodSwizzler (~> 5.2.0)

Specs satisfying the `GoogleUtilities/MethodSwizzler (~> 5.2.0)` dependency were found, but they required a higher minimum deployment target.

部署目标未更改,仍为9.0。我的Podfile中列出了这些Firebase-Pod:

  pod 'Firebase/AdMob'
  pod 'Firebase/Messaging'
  pod 'Firebase/Core'

Firebase / AdMob的当前版本为(5.8.0)。我已经删除了所有吊舱并重新安装了它们。但是没有用。

有人对此有解决方案吗?

1 个答案:

答案 0 :(得分:1)

执行pod update

此问题已在Firebase 5.8.1中修复。 github issue中的详细信息。