“No Such module as firebaseUI”

删除回忆录丶 提交于 2019-12-08 11:42:38

问题


@import FirebaseUI;

When I imported this module it shows "No Such Module as FirebaseUI"

but I have already installed pods

 pod 'Firebase/Core'

 pod 'FirebaseUI'

 pod 'FirebaseUI/Auth'

 pod 'FirebaseUI/Google'

 pod 'FirebaseUI/Facebook'

 pod 'FirebaseUI/Twitter'

 pod 'FirebaseUI/Phone'

I am new to ios can someone please help me


回答1:


Downloaded FirebaseUI.framework from https://github.com/firebase/FirebaseUI-iOS/releases

Dragged FirebaseUI.framework into my project

@import FirebaseUI 

or use

#import <FirebaseUI/FirebaseUI.h>

Simply build your application (cmd - b) and it should resolve the issue.

Or

Make sure you are opening the .workspace file that is created when you install the pod's rather than the normal .xcode file.

Project -> Clean Also try cleaning the project.




回答2:


In the case where you are certain that the pod has been installed and the .framework file exists, you can try to delete the Derived Data and run a clean build. If you are running on an external device, sometimes deleting the application and then rebuilding it will help.

You can also try running pod outdated in a Terminal window to see if your FirebaseUI pod should be upgraded to a newer version.



来源:https://stackoverflow.com/questions/51080476/no-such-module-as-firebaseui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!