迦太基和谷歌地图

编程入门 行业动态 更新时间:2024-10-21 15:30:58
本文介绍了迦太基和谷歌地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否可以通过Carthage安装GoogleMap SDK?

我只看到Cocoapods的教程。

或者我只能手动安装,如果我使用Carthage ?

解决方案

根据迦太基文档: $ b

现在唯一支持的来源是GitHub存储库(包括GitHub和GitHub Enterprise)

Carthage实际上是从它从指定存储库检出的源代码构建二进制框架。开发人员需要将此构建的二进制框架与之后的项目链接起来。

Google已向您提供GoogleMaps框架的二进制版本,而不是共享来源。因此,您只需从官方网站下载此二进制文件,然后将其链接到您的项目使用迦太基。所以你可以说谷歌已经完成了迦太基的工作,所以你不必用迦太基来构建谷歌地图框架。我相信你甚至不能如果你想要,因为GoogleMaps源代码是不公开的。

希望我的回答对你有帮助。

Is it possible to install GoogleMap SDK via Carthage?

I only saw the tutorial for Cocoapods only.

Or I only can install manually if I am using Carthage?

解决方案

According to Carthage docs:

The only supported origins right now are GitHub repositories (both GitHub and GitHub Enterprise)

Carthage actually builds binary framework from the sources it checkouts from the specified repository. Developer needs to link this built binary frameworks to the project afterwards.

Google already provides you with the binary version of GoogleMaps framework instead of sharing sources. Therefore all you have to do is just download this binary from official website and link it to your project without using Carthage. So you can say that Google has already done Carthage work for you so you don't have to use Carthage to build GoogleMap framework. And I believe you even couldn't if you want to because GoogleMaps source code is not open.

Hope my answer will be helpful for you.

更多推荐

迦太基和谷歌地图

本文发布于:2023-11-26 17:11:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1634472.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:迦太基   地图

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!