ios – 无法找到GooglePlaces的规范

ios – 无法找到GooglePlaces的规范,第1张

概述我正在关注 this教程,但是当我跑步时 pod install 在第2步第6部分,我得到了错误 [!] Unable to find a specification for `GooglePlaces` 为什么会发生这种情况的任何想法? 更新: Podfile看起来像: source 'https://github.com/CocoaPods/Specs.git'target 'YOUR_AP 我正在关注 this教程,但是当我跑步时

pod install

在第2步第6部分,我得到了错误

[!] Unable to find a specification for `GooglePlaces`

为什么会发生这种情况的任何想法?

更新:
Podfile看起来像:

source 'https://github.com/CocoaPods/Specs.git'target 'YOUR_APPliCATION_TARGET_name_HERE' do  pod 'GoogleMaps'  pod 'GooglePlaces'end

将YOUR_APPliCATION_TARGET_name_HERE更改为我的目标名称.

解决方法 这似乎对我有用:

source 'https://github.com/CocoaPods/Specs.git'use_frameworks!target 'WhatsOpen' do  pod 'GoogleMaps'  pod 'GooglePlacesAPI'end

这是在尝试Nilesh Jha的回答之后.

它还说[!] GooglePlaces已被弃用,转而使用GooglePlacesAPI所以我用“GooglePlacesAPI”取代了“GooglePlaces”,看起来很满意.

总结

以上是内存溢出为你收集整理的ios – 无法找到GooglePlaces的规范全部内容,希望文章能够帮你解决ios – 无法找到GooglePlaces的规范所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://www.outofmemory.cn/web/1072989.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-26
下一篇 2022-05-26

发表评论

登录后才能评论

评论列表(0条)

保存