简体   繁体   English

您可以使用cocoapods安装GeoFire吗?

[英]Can you install GeoFire using cocoapods?

There seems to be a podspec for GeoFire: at https://github.com/firebase/geofire-objc/blob/master/GeoFire.podspec , but CocoaPods has no idea it exists http://cocoapods.org/?q=geofire . 似乎有针对GeoFire的podspec:位于https://github.com/firebase/geofire-objc/blob/master/GeoFire.podspec ,但CocoaPods不知道它是否存在http://cocoapods.org/?q=地火 Is there a way to install GeoFire with CocoaPods? 有没有办法用CocoaPods安装GeoFire?

It looks like GeoFire has created a podspec, but hasn't published it on CocoaPods. 看起来GeoFire已创建了podspec,但尚未在CocoaPods上发布。 This should work though: 这应该可以工作:

platform :ios, '7.0'
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git', :tag => 'v1.1.0'

Disclaimer: I have never used GeoFire or don't even know what it does. 免责声明:我从未使用过GeoFire,甚至不知道它的作用。 The solution is provided solely based on the information in the question. 仅根据问题中的信息提供解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM