简体   繁体   English

如何从我的 podfile 中找到 GitHub 项目?

[英]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.

相关问题 我如何 select 我的 Podfile 中的项目? 我收到错误消息:无法找到目标“Pods”的 Xcode 项目 - How do I select a project in my Podfile? I'm getting the error: Unable to find the Xcode project for the target 'Pods' 如何在项目中重新安装Podfile? - How to ReInstall Podfile in the project? 如何解决这个“Invalid `Podfile`”错误? - How can I solve this “ Invalid `Podfile` ” error? 使用多个框架时,如何在不“重复”我的 `Podfile` 的情况下添加用于测试的 pod? - How can I add pods for testing without “repeating” them in my `Podfile` when using multiple Frameworks? 从项目Podfile中删除项目 - Delete items from project podfile 我怎样才能知道 podfile.lock 中的依赖项来自哪里,以便将它们固定到特定版本? - How can I tell where dependencies in podfile.lock come from in order to pin them to specific version? 如何将github中的自定义控件合并到我的项目中并保持最新状态 - How do I incorporate a custom control from github to my project and stay up to date 我可以为具有iOS和tvOS目标的项目使用相同的podfile(cocoapods)吗? - Can I use the same podfile (cocoapods) for a project that has both iOS and tvOS Targets? 如何检查添加到 Xcode 项目的 podfile 版本? - How to check podfile version added to Xcode project? flutter ios:xcode 看不到我的 podfile - flutter ios: xcode can not see my podfile
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM