Hi,

I'm trying to compile a custom framework module written in Swift that 
relies on Couchbase Lite as a dependency. I've been having a really tough 
time finding any way to integrate it with any maintainability and was 
hoping you might have a suggestion.

The main problem appears to be twofold:
- Apple dropped support for using a bridging header within a framework 
target
- You cannot import a non-modular header into the umbrella header for the 
framework

Are there any plans to add proper CocoaPods support instead of the vendored 
framework method currently used? I think this will likely become a bigger 
issue soon when the official 0.36.0 release comes out that supports Swift 
and modules / frameworks, as I believe that if a single pod must be built 
as a dynamic framework, they will all be built that way.

Carthage is another dependency manager gaining some traction, and though it 
seems to build the OS X targets fine, it doesn't build the iOS targets as 
they are defined as a library / bundle instead of as a framework like OS X.

It seems the solution is to add an additional iOS framework target that 
defines a module, however I'm still trying to wrap my head around all of 
this.

Any thoughts?

Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/ffb28801-9f02-49e1-afa4-b4118234162f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to