[英]How can I find a GitHub project from my podfile?
I have an iOS application.我有一个 iOS 应用程序。
I'm using CocoaPods.我正在使用 CocoaPods。
I have a podfile
with all my pods names.我有一个包含我所有 pod 名称的
podfile
。
I want to check changes made on one of the pods in GitHub, but I don't know how to get to my projects page.我想检查对 GitHub 中的一个 pod 所做的更改,但我不知道如何访问我的项目页面。
How can I find the exact project from my podfile
in GitHub?如何从
podfile
中的 podfile 中找到确切的项目?
For example -例如 -
One of the pods is GoogleAnalytics
, searching "GoogleAnalytics" on GitHub will find multiple results with this exact name written by different developers.其中一个 pod 是
GoogleAnalytics
,在 GitHub 上搜索“GoogleAnalytics”将找到由不同开发人员编写的具有该确切名称的多个结果。
How can I find the GoogleAnalytics
from my podfile
?如何从我的
podfile
中找到GoogleAnalytics
?
Writing the pod name on CocoaPods will get you to the specs but will not get you to the projects GitHub page.在 CocoaPods 上写入 pod 名称将使您了解规格,但不会让您进入项目 GitHub 页面。
See the source line in the podspec .请参阅podspec 中的源代码行。
The GoogleAnalytics pod is a binary framework only and does not make its source available on GitHub. GoogleAnalytics pod 只是一个二进制框架,不会在 GitHub 上提供其源代码。
Google analytics was just an example, but after @Paul Beusterien answer I understood that some companies sources may not be available on CocoaPods search, that made me search for the smaller independent developer pods, there I have found links to GitHub.谷歌分析只是一个例子,但在@Paul Beusterien回答之后,我了解到 CocoaPods 搜索中可能没有一些公司的资源,这让我搜索了较小的独立开发人员 pod,在那里我找到了指向 GitHub 的链接。
So the answer - if it helps anyone -所以答案 - 如果它帮助任何人 -
Search on CocoaPods for the links to GitHub, if you can't find it, it's probably big enough to find on google or on that dependency's website.在 CocoaPods 上搜索GitHub的链接,如果找不到它,它可能足够大,可以在 google 或该依赖项的网站上找到。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.