Closed scalessec closed 2 years ago
Just as a followup, I was able to get our app to compile by:
SEGFirebaseIntegration.h
, SEGFirebaseIntegration.m
, SEGFirebaseIntegrationFactory.h
, and SEGFirebaseIntegrationFactory.m
directly to our dynamic framework target.Everything compiles and I can configure the SEGAnalyticsConfiguration
with SEGFirebaseIntegrationFactory.instance()
. Sounds great, except it doesn't appear to actually be working. No method in SEGFirebaseIntegration
is ever invoked after the instance is retrieved from the factory and set on the config.
Now that Firebase supports an experimental version of Carthage, is it possible to have this integration support Carthage as well?
We're a Segment customer with a large iOS app that has a modern architecture. We use Carthage instead of CocoaPods, we're 100% Swift, and our large codebase is modularized into dynamic frameworks. The part of our app that deals with analytics is in one of these frameworks. Because of this, we have no obvious way to integrate Segment Firebase into our build.
Approaches we've considered:
At the moment it appears our only (potentially) viable approach is integrate Firebase into our project using Carthage, and then to manually port this library to Swift to avoid the need for a bridging header.