简体   繁体   English

如果显示找不到命令,如何在我的终端中创建 podfile?

[英]How can I create podfile in my terminal if it shows command not found?

I am adding firebase to my iOS app in flutter.我在 flutter 中将 firebase 添加到我的 iOS 应用程序中。

Problem occurs in the add firebase SDK step. add firebase SDK 步骤出现问题。 I run the command pod init in my terminal but it says -bash: pod: command not found .我在终端中运行命令pod init但它显示-bash: pod: command not found

Enter sudo gem install cocoapods in terminal to install Cocoapods .在终端输入sudo gem install cocoapods安装Cocoapods See this guide for more information.有关详细信息,请参阅本指南 Then create podfile with pod init command.然后使用pod init命令创建 podfile。

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

相关问题 使用 pip3 安装 awslocal CLI 后,我在检查 CLI 选项时在终端中看到:zsh: command not found: awslocal - After installing the awslocal CLI with pip3, I am seeing this in my terminal while checking the CLI options: zsh: command not found: awslocal 如何让我的超级终端 cursor 提示只是“-> ~”? - How do I get my Hyper terminal cursor prompt to be just " -> ~"? 找不到模块:当我导入 twilio 显示时无法解析 .net,Nextjs 错误 - Module not found: Can't resolve 'net' when i importing twilio shows,Nextjs error 如何创建函数以减少代码中的冗余? [JS] - How can I create functions to reduce redundancy in my code? [JS] 如何在我的 React 应用程序中创建一个单独的动态 window? - How can I create a separate dynamic window in my React app? 即使我关闭了 aws 终端,如何继续运行我的 fastapi 应用程序 - how to keep running my fastapi app even I close my aws terminal 如何创建显示 1H(上半年)和 2H(下半年)复选框的下拉选择器? - How can I create a drop down selector that shows 1H (first half of year) and 2H (second half of year) check boxes? 如何在终端中轻松切换 AWS 凭证? - How can i switch AWS credentials easily in the terminal? 如何在文档中创建子集合? - How can I create Subcollection in document? 如何修复 firebase“找不到命令”错误 - how to fix firebase "command not found" error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM