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?
答案 0 :(得分:1)
实际上,所有子规范(如数据库,Firestore,Auth ...)都隐式属于FirebaseUI。您只看到FirebaseDatabaseUI
收到错误警告,因为您将其放在首位,如果将其他FirebaseXYZUI放在首位,它也会显示该错误。
要解决该错误,只需import FirebaseUI
并删除所有其他FirebaseXYZUI。
希望这会有所帮助。