firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
Undefined symbol: _OBJC_CLASS_$_
Hi , I am working on a KMP project (Android & iOS), and I've update to the version 1.13.0 (so I can upload ByteArray to firebase storage).
Since the update, I have theses errors from Xcode when trying to run my app on iOS :
Undefined symbol: _OBJC_CLASS_$_FIRPersistentCacheSettings
Undefined symbol: _OBJC_CLASS_$_FIRMemoryCacheSettings
Undefined symbol: _OBJC_CLASS_$_FIRMemoryEagerGCSettings
Undefined symbol: _OBJC_CLASS_$_FIRMemoryLRUGCSettings
Do you know what is going on here and how I can fix this issue ?
Thanks in advance 🙏
Which ios firebase sdk have you linked to your project? On 1.13.0 it should be at 10.23.0. Older sdks do not yet have the new Settings implementation.
I ran into same error, @Daeda88 you mean the origin ios firebase sdk should be 10.23.0? how could we config them?
Your own project should be linking the ios fb sdk (either through SPM or Cocoapods). The version being linked there should match this project.
I see, missed reading the part in README, thanks for explanation!