问题
@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