Thanks for your quick response Jens.

There isn't a CouchbaseLite Listener Framework target. But I won't be using 
the listener from within my extension, so I guess I don't need it to be a 
dynamic framework. Only CouchbaseLite framework will be used from within 
the app extension.

But perhaps if I could just modify the CBL dynamic framework to export the 
internal utility functions so that CouchbaseLiteListener framework could 
access them, then it would compile?

Is it just a matter of adding the CollectionUtils.h header file from 
MyUtilities to the CBL iOS Framework's Headers Build Phase?

I just tried that and it didn't seem to work. When I compile I get the same 
issue.

I did try to add CollectionUtils.m to the Compile Sources build phase, but 
then I just got errors that there were duplicate symbols. So I'm sure it's 
compiling those functions into the app, but as you say, not being exposed 
by the dynamic framework.

I feel like I'm so close to getting it...

Thanks,

Brendan

On Friday, August 17, 2018 at 12:16:52 PM UTC-6, Jens Alfke wrote:
>
>
>
> > On Aug 17, 2018, at 10:34 AM, Brendan Duddridge <[email protected] 
> <javascript:>> wrote: 
> > 
> > Is this because I'm using the dynamic CBL framework and the static CBL 
> Listener framework together? 
>
> Probably, yes. The static listener library is using internal utility 
> functions from CBL that aren't exported from the dynamic lib. 
>
> > Is there a way to compile the CBL Listener as a dynamic framework? 
>
> I'm pretty sure there is. There may not be a premade scheme for it, but 
> look in the list of targets in the Xcode project. 
>
> —Jens 
> Privacy Policy<https://www.couchbase.com/privacy-policy> | Update 
> Marketing Preferences<
> https://info.couchbase.com/unsubscribe-or-manage-preferences> 
>

-- 
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/544d6ca8-5a44-4998-b62b-f7a0c657ecce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to