“没有像firebaseUI这样的模块”

问题描述 投票:0回答:2

Imported the screenshot @import FirebaseUI;

当我导入此模块时,它显示“No Such Module as FirebaseUI”

但我已经安装了pods

 pod 'Firebase/Core'

 pod 'FirebaseUI'

 pod 'FirebaseUI/Auth'

 pod 'FirebaseUI/Google'

 pod 'FirebaseUI/Facebook'

 pod 'FirebaseUI/Twitter'

 pod 'FirebaseUI/Phone'

我是ios的新手可以有人请帮助我

ios objective-c firebase firebase-authentication firebaseui
2个回答
0
投票

https://github.com/firebase/FirebaseUI-iOS/releases下载了FirebaseUI.framework

将FirebaseUI.framework拖到我的项目中

@import FirebaseUI 

或使用

#import <FirebaseUI/FirebaseUI.h>

只需构建您的应用程序(cmd - b),它就可以解决问题。

要么

确保打开安装pod而不是普通.xcode文件时创建的.workspace文件。

项目 - >清洁也尝试清理项目。


0
投票

如果您确定已安装pod并且.framework文件存在,则可以尝试删除派生数据并运行干净构建。如果您在外部设备上运行,有时删除应用程序然后重建它将有所帮助。

您还可以尝试在终端窗口中运行pod outdated,以查看您的FirebaseUI pod是否应升级到更新版本。

© www.soinside.com 2019 - 2024. All rights reserved.