GitLiveApp / firebase-kotlin-sdk

A Kotlin-first SDK for Firebase
https://gitliveapp.github.io/firebase-kotlin-sdk/
Apache License 2.0
1.17k stars 155 forks source link

Build Error on IOS #490

Closed assadyouness closed 7 months ago

assadyouness commented 7 months ago

Undefined symbols for architecture arm64: "_FIRAuthErrorDomain", referenced from: _cocoapods_FirebaseAuth_FIRAuthErrorDomain_getter_wrapper0 in sharedApp[arm64]22 "_OBJCCLASS$_FIRAuth", referenced from: in sharedApp[arm64]2714 "_OBJCCLASS$_FIRAuthDataResult", referenced from: in sharedApp[arm64]2714 "_OBJCCLASS$_FIRFacebookAuthProvider", referenced from: in sharedApp[arm64]2714 "_OBJCCLASS$_FIRGoogleAuthProvider", referenced from: in sharedApp[arm64]2714 ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Undefined symbol: _FIRAuthErrorDomain Undefined symbol: _OBJCCLASS$_FIRAuth Undefined symbol: _OBJCCLASS$_FIRAuthDataResult Undefined symbol: _OBJCCLASS$_FIRFacebookAuthProvider Undefined symbol: _OBJCCLASS$_FIRGoogleAuthProvider

Daeda88 commented 7 months ago

Can you share your build.gradle. Make sure your project adds the FirebaseAuth cocoapod dependency with version 10.23.0.

assadyouness commented 7 months ago

right after I added it, it worked thank you