在中找不到googleapi的podspec [英] No podspec found for googleapis in

查看:179
本文介绍了在中找不到googleapi的podspec的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装googleapis pod时出现错误在中未找到googleapis的podspec".

Installing googleapis pod giving error "No podspec found for googleapis in ."

我正在尝试安装pod'googleapis',:path =>'. 但是,它的跟随错误 分析依赖关系 从中获取googleapis的podspec. [!]在中找不到googleapi的podspec.

I am trying to installing pod 'googleapis', :path => '.' but, its getting following error Analyzing dependencies Fetching podspec for googleapis from . [!] No podspec found for googleapis in .

我的pod文件是

target 'appName' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
   # use_frameworks!

  # Pods for AppSpeak
   pod 'MBProgressHUD'
   pod 'Fabric'
   pod 'Crashlytics'
   pod 'googleapis', :path => '.'
   end

任何人都可以帮助解决此问题吗?

Can anyone help to fix this?

推荐答案

  1. Google上下载示例Git中的-SpeechToText示例
  2. 在podfile中,执行pod 'googleapis', :path => '.'
  3. 从样本的主文件夹中复制2件事: 一种. googleapis.podspec b. google文件夹
  4. 将这些文件粘贴到您的项目文件夹中
  5. 然后在终端中,找到项目并执行pod install
  1. Download the sample from Google-SpeechToText sample in Git ,
  2. In podfile, do pod 'googleapis', :path => '.'
  3. Copy 2 things from the sample's main folder named : a. googleapis.podspec b. google folder
  4. Paste these files inside your project folder
  5. Then in terminal, locate the project and do pod install

要运行您的演示项目,请打开示例中的BUILDFIXES文件,然后进行上述修复.
现在您可以松一口气,该项目成功构建.

To run your demo project, open the BUILDFIXES file inside the sample, and do the fixes as mentioned.
Now you can breathe, the project builds successfully.

享受编码;)

这篇关于在中找不到googleapi的podspec的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆