如何使用可可豆荚更新谷歌地图。

时间:2016-04-19 12:31:03

标签: ios cocoapods

大家好我正在使用谷歌地图和其他图书馆。我使用cocoapods安装每个库,但是当我安装库并使用命令pod install进行更新时。我收到了这个错误:

Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `GoogleMaps` required by `Podfile`
- `GoogleMaps (= 1.13.0)` required by `Podfile.lock`

Specs satisfying the `GoogleMaps` dependency were found, but they required a higher minimum deployment target.

Specs satisfying the `GoogleMaps (= 1.13.0)` dependency were found, but they required a higher minimum deployment target.

这是我的pod文件:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
pod 'GoogleMaps'
pod 'AFNetworking', '~> 3.0'
pod ‘Facebook-iOS-SDK’
pod 'TwitterKit'
platform :ios, '6.0'
pod 'REFrostedViewController', '~> 2.4'

1 个答案:

答案 0 :(得分:1)

像这样更改你的podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'GoogleMaps'
pod 'AFNetworking', '~> 3.0'
pod 'Facebook-iOS-SDK'
pod 'TwitterKit'
pod 'REFrostedViewController', '~> 2.4'

看起来像平台:由于重新定义,ios从8变为6