在初始化init之后添加/编辑一个pod文件“firebase” [英] Adding/Edit a pod file after initial init "firebase"

查看:173
本文介绍了在初始化init之后添加/编辑一个pod文件“firebase”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,当我将pod文件安装到我的项目中时,我忘了添加到FirebaseDatabase中,现在我想添加它,我该怎么做?将再次通过pod init进程搞砸了吗?



我的Pod文件的照片:

解决方案

你应该只是添加你想要的新的豆荚,并运行:

  pod install 

这样会起作用,并且不会弄乱你的代码。 (如有必要)旧版本,安装新版本。
您不应该运行pod init,只需安装pod。


So when I installed the pod file into my project I forgot to add in FirebaseDatabase and now I want to add it in how do I do that? Will going through the pod init process again mess things up?

Photo Of My Pod File:

解决方案

You Should just add the new pod you want, and run:

 pod install

And it would work, and won`t mess up you code.

Iy will Update (If necessary) Older Pods, and Install New Ones. You should not Run pod init, just pod install.

这篇关于在初始化init之后添加/编辑一个pod文件“firebase”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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