Closed DwainsWorld closed 2 years ago
After digging into my app build logs I found that this Swift iOS module was generated as a dynamic framework. All other firebase modules are being generated as static frameworks. After reading a few github issues related to the above exception here - it eventually lead me to here.
I'm not well versed in Swift. I couldn't see a clear way to generate the framework statically. Instead I re-wrote this module in ObjC which resulted in a static framework being generated. The module can now be incorporated and function as expected without the crash above.
Hi @hansemannn,
Xcode: 13.1 Device: iPhone 12 Pro Max (iOS 15) Ti SDK: 10.1.0.GA
I'm looking to integrate this into an existing project that uses the firebase.core and firebase.analytics modules. I couldn't get it to compile on a iOS device until I updated the _shared folder to use the .xcframework modules. Now when I click a dynamic link it opens the app successfully but throws the following from Titanium CLI:
[DEBUG] -[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x60000298ce40
From the device logs I have the following crash report: