firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Undefined symbol: _OBJC_CLASS_$_

Open florianNgbala opened this issue 1 year ago • 4 comments
trafficstars

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 🙏

florianNgbala avatar Jul 22 '24 13:07 florianNgbala

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.

Daeda88 avatar Jul 25 '24 14:07 Daeda88

I ran into same error, @Daeda88 you mean the origin ios firebase sdk should be 10.23.0? how could we config them?

timhuang1018 avatar Jul 31 '24 08:07 timhuang1018

Your own project should be linking the ios fb sdk (either through SPM or Cocoapods). The version being linked there should match this project.

Daeda88 avatar Jul 31 '24 12:07 Daeda88

I see, missed reading the part in README, thanks for explanation!

timhuang1018 avatar Aug 05 '24 03:08 timhuang1018