简体   繁体   中英

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

I am adding firebase to my iOS app in flutter.

Problem occurs in the add firebase SDK step. I run the command pod init in my terminal but it says -bash: pod: command not found .

Enter sudo gem install cocoapods in terminal to install Cocoapods . See this guide for more information. Then create podfile with pod init command.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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