Xcode Firebase/AdMob导致Pod过期故障
我试图在Swift 4.2发布后找到新的pod版本。所以我打了电话 豆荚过时 在候机楼。根据这种情况,会出现此类错误消息:Xcode Firebase/AdMob导致Pod过期故障,xcode,cocoapods,Xcode,Cocoapods,我试图在Swift 4.2发布后找到新的pod版本。所以我打了电话 豆荚过时 在候机楼。根据这种情况,会出现此类错误消息: Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "Firebase/AdMob": In Podfile: Firebase/AdMob Specs satisfying the `Firebase/AdMob` dependency were
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。这些Firebase吊舱列在我的吊舱文件中:
pod 'Firebase/AdMob'
pod 'Firebase/Messaging'
pod 'Firebase/Core'
Firebase/AdMob的当前版本是(5.8.0)。我已经删除了所有播客并安装了新的播客。但是没有起作用
有人对此有解决方案吗?执行
pod更新
这是今天在Firebase 5.8.1中修复的。详情见此。Hi@Paul Beusterien,我的cocoapod版本是1.6.1,我无法通过运行pod update将firebase更新为5.18.1或5.18.2。关于Firebase/AdMob,我面临着与本文作者相同的问题。你知道如何更新我的firebase版本吗?@Scuttlebutt 5.18.0是CocoaPods的最新版本。5.18.1和5.18.2仅用于解决迦太基和zip发行版的问题。如果
pod update
无法获得最新版本,则可能与pod文件中的其他内容存在硬依赖关系。检查Podfile.lock
文件,了解选择特定pod版本的原因。