每次运行pod install
或pod update
命令时将 cocoapods 从 0.38.2 更新到 0.39.0 后,我收到错误
[!] Unable to satisfy the following requirements:
- `GoogleAnalytics (= 3.13)` required by `Podfile`
项目信息:XCode 7,iOS9 SDK,8.0 部署目标,项目设置中禁用了咬代码。
播客文件:
platform :ios, '8.0'
pod 'AFNetworking', '2.6.0'
pod 'Typhoon'
pod 'SSKeychain'
pod 'JBWebViewController', :git => 'https://github.com/Ponf/JBWebViewController', :commit => '19d15604a694e7436fa4934a5bf221f05360eb8c'
pod 'TTTAttributedLabel'
pod 'HockeySDK', '3.6.4'
pod 'GoogleAnalytics', '3.13'
pod 'Intercom'
pod 'FBSDKCoreKit'
pod 'OpenSans'
pod 'UIButton+Activity'
pod 'HexColors'
pod 'AFNetworkActivityLogger'
pod 'HCSStarRatingView', :git => 'https://github.com/hugocampossousa/HCSStarRatingView.git'
pod 'LGSideMenuController', '~> 1.0.0'
pod 'DateTools'
pod 'SDWebImage'
如果我删除了对 Google Analytics 的依赖3.13
- 另一个 pod 上的 pod 更新失败。
在我回退到 Cocoapods 0.38.2 之后 -pod update
开始运行良好。
如何使 0.39.0 工作?谢谢!
编辑: 看起来 Cocoapods Core 有一些问题:https ://github.com/CocoaPods/CocoaPods/issues/4365