简体   繁体   English

谷歌应用程序索引iOS SDK CocoaPods的替代品

[英]Google App Indexing iOS SDK CocoaPods alternative

Is there an alternative way of obtaining the iOS SDK for Google App Indexing or do I have to use CocoaPods? 是否有另一种获取iOS SDK for Google App Indexing的方法,还是我必须使用CocoaPods?

ie are the required files available as a standalone download that I can pull into my app as a once-off operation without having to get them via CocoaPods? 即所需的文件作为独立下载提供,我可以作为一次性操作拉入我的应用程序,而无需通过CocoaPods获取它们?

Reason I ask is that I'm operating in a restricted environment where any change to our project structure caused by integrating with CocoaPods (ie creation of .xcworkspace file) will impact our build process and also our firewall will give us problems when attempting to install the pod. 我问的原因是我在一个受限制的环境中运行,因为与CocoaPods集成而导致的项目结构的任何变化(即创建.xcworkspace文件)都会影响我们的构建过程,而且我们的防火墙在尝试安装时会给我们带来问题豆荚。

This is an old question - but... 这是一个老问题 - 但......

You can always find the source file locations for a cocoapod by looking it the Podspec file for that pod. 您始终可以通过查看该pod的Podspec文件来查找cocoapod的源文件位置。 For Google App Indexing it is available here for the 2.0.2 release . 对于Google App Indexing,可在此处获取2.0.2版本 As you can see the files are available at https://www.gstatic.com/cpdc/f4087bb21bf46c7e-GoogleAppIndexing-2.0.2.tar.gz . 如您所见,这些文件可在https://www.gstatic.com/cpdc/f4087bb21bf46c7e-GoogleAppIndexing-2.0.2.tar.gz上找到

Unzipping that tar and you have a framework and bundle that will need to be included in your project. 解压缩tar并且您有一个框架和包需要包含在您的项目中。 For the sake of completeness in this answer - dependency management, etc etc etc. If cocoa pods is something that you can't use take a look at https://github.com/Carthage/Carthage . 为了完整性的答案 - 依赖管理等等等。如果可可豆荚是你不能使用的东西,请看看https://github.com/Carthage/Carthage

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

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