how to update google maps using cocoa pods.?

a 夏天 提交于 2019-12-12 03:44:39

问题


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.

Here is my pod file:

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:


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'

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



来源:https://stackoverflow.com/questions/36718468/how-to-update-google-maps-using-cocoa-pods

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!