gpt4 book ai didi

ios - 如何使用 cocoa pod 更新谷歌地图。?

转载 作者:行者123 更新时间:2023-11-28 21:29:31 25 4
gpt4 key购买 nike

大家好,我正在使用谷歌地图和其他图书馆。我使用 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'

最佳答案

像这样更改您的 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'

貌似platform: ios因为重定义从8变6

关于ios - 如何使用 cocoa pod 更新谷歌地图。?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36718468/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com