See https://forums.couchbase.com/t/installing-couchbase-lite-with-cocoapods-in-a-framework/11790
Can you try with the 2.0 DB1 pod spec to see if it works as a framework with cocoa pods? > On 22 Feb 2017, at 21:37, David Brittain <[email protected]> wrote: > > We don't have use_frameworks! perhaps that's why (we're an objective-C > based app). > > Here's an abbreviated version of our pod file.... > > source 'https://github.com/CocoaPods/Specs.git' > platform :ios, '9.3' > project 'Concepts.xcodeproj' > > target 'ConceptsCore' do # shared framework > pod 'couchbase-lite-ios' > end > > target 'Concepts' do # main app > > end > > target 'SpotlightSearch' do #search extension > end > > target 'iMessage' do #imessage extension > > end > >> On Wed, Feb 22, 2017 at 11:34 AM, Ben Kennedy <[email protected]> wrote: >> >>> 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. > > > > -- > > David Brittain > Co-founder/CTO > @ConceptsApp > > -- > 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/CAMehdVGtanNHjfuYhqEVO0XkM896MAWq9sDpaAYZq%2BR2Kh_cqg%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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/01EFC8F1-DEB5-4289-BD1D-F3EB2A554F6F%40gmail.com. For more options, visit https://groups.google.com/d/optout.
