如何使用可可豆荚更新谷歌地图? [英] how to update google maps using cocoa pods.?

查看:91
本文介绍了如何使用可可豆荚更新谷歌地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在使用Google Maps和其他图书馆。我使用cocoapods安装每个库,但是当我安装库并使用命令 pod install 更新时。我收到此错误:

Hi guys I am using google maps and other libraries. I install every library using cocoapods, but when I install a library and update with command pod install. I am getting this error:

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'


推荐答案

按如下所示更改您的podfile:

Change your podfile like this:

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

looks like platform: ios is changing from 8 to 6 because of redefinition

这篇关于如何使用可可豆荚更新谷歌地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆