“没有这样的模块'Firebase'"将Firebase添加到库中时 [英] "No such module 'Firebase'" when add Firebase into a library

查看:46
本文介绍了“没有这样的模块'Firebase'"将Firebase添加到库中时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚创建了新的Framework并通过CocoaPods添加了Firebase,将库成功组合起来.

I just created new Framework and added Firebase via CocoaPods, when combine the library it success.

但是当我也通过CocoaPods将该库添加到其他项目中,然后将该项目合并时,就会引发错误:没有这样的模块'Firebase'

But when I add that library to other project via CocoaPods as well, then combine that project, and it raise an error: No such module 'Firebase'

有人遇到这样的问题吗?

Anyone faced a problem like this?

推荐答案

您需要将以下内容添加到POD文件中:

You need to add the follwing to your POD file:

pod'Firebase'

在那之后,您需要输入您的终端

After that, you need to type in your terminal

pod安装(以刷新pod文件)

pod install (to refresh the pod file)

这篇关于“没有这样的模块'Firebase'"将Firebase添加到库中时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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