-
I'm currently in the process of splitting our monolith app into a bunch of modules (for now they are just framework targets within the same project). I'm implementing the Firebase SDK using carthage to build xcframeworks and adding the -objC flag for my app target. I now need to use the SDK from other targets as well (framework modules), but this is giving me a hard time. If I link both my app target and my framework against the SDK I get a ton of those How should I approach using the SDK from multiple targets without any conflicts? Any insight would be very helpful. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The Firebase binary distributions are composed of static libraries. As a result they do not support linkage into a dynamic frameworks. instead the frameworks should also be statically linked. More detail at https://github.com/firebase/firebase-ios-sdk/blob/master/docs/firebase_in_libraries.md |
Beta Was this translation helpful? Give feedback.
The Firebase binary distributions are composed of static libraries. As a result they do not support linkage into a dynamic frameworks. instead the frameworks should also be statically linked. More detail at https://github.com/firebase/firebase-ios-sdk/blob/master/docs/firebase_in_libraries.md