On Wednesday, February 22, 2017 at 11:17:12 AM UTC-8, David Brittain wrote:
>
> Are you sure you have properly restricted couchbase-lite to the shared
> framework target only? We do this in our app (share a dynamic lib that
> links couchbase with an app and extension) and don't have problems
> with linker warnings. We are using 1.3.2
Well, given the duplicate linkage warnings, I suppose it's clear I haven't
restricted it properly although I'm not sure why.
My Podfile has a structure like this (simplified for illustrative purposes):
use_frameworks!
project 'Kashoo.xcodeproj'
abstract_target 'Kashoo-iOS' do
pod 'foo' # pod exposed to all targets
pod 'bar' # pod exposed to all targets… etc.
target 'KashooCommon' do # shared framework (CBL)
pod 'couchbase-lite-ios'
end
target 'Kashoo' do # application (has a few app-only pods)
pod 'baz'
pod 'sac'
end
target 'Kashoo QE Extension' # action extension (has no
extension-specific pods)
end
Does this differ from your approach?
thanks,
-ben
--
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/417f93f0-7aa9-4b95-9d49-22561fe90ed8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.