Reputation: 412
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
Upvotes: 3
Views: 4693
Reputation: 131
Since FirebaseUI 11.0.0 it is no longer possible to import FirebaseUI framework using just:
import FirebaseUI
in Swift and
@import FirebaseUI
in Objective C.
According to the official changelog at github.com, now you have to import FirebaseUI modules separately.
Example below (Swift):
//FirebaseUI 11.0
import FirebaseAuthUI
import FirebaseDatabaseUI
//...
Upvotes: 8
Reputation:
Add the following line to your Podfile:
pod 'FirebaseUI/Storage'
Then add the following import to the problematic file:
import FirebaseStorageUI
Upvotes: 4
Reputation: 3080
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.
Upvotes: 2
Reputation: 5545
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.
Upvotes: 2