I installed FirebaseDatabaseUI via Cocoapods, closed the .xcodeproj then opened the .xcodeworkspace, but whenever I try to import it within my code, it keeps saying No such module 'FirebaseDatabaseUI'
Supposing it might be a dependency issue, I decided to install the FirebaseUI full bundle by pod 'FirebaseUI'
, but achieved no success at all. As can be seen in the screenshot I took of my code, FirebaseDatabaseUI is the only FirebaseUI library in which is occurring the issue.
Can someone tell me what might be wrong?
Actually, all subspec like Database, Firestore, Auth... is implicitly belong to FirebaseUI. You saw only FirebaseDatabaseUI
get error warning because you put it in the first place, if you put other FirebaseXYZUI to the first place, it will also display that error.
To fix the error, simply import FirebaseUI
and remove all other FirebaseXYZUI.
Hope this helps.