Perhaps I'm missing something, but this is a lot more steps than what I did to get CouchbaseLite as a source dependency in my CBLNestedModelExample (check pull request for link to it).
In short, these are the steps I did... 1.) In your project directory, type "git submodule add <repo to couchbase>" 2.) git submodule update --init --recursive 3.) In your project's xcodeproject, drag the couchbase-lite project into it right under your project at the top 4.) Click on your project settings, add library, and select CouchbaseLite.framework (select the right one for Mac or iOS, it will tell you). Build and run, and everything works. Please let me know if I'm missing something. Cheers, Ragu On Wednesday, April 16, 2014 5:32:45 PM UTC-7, Jens Alfke wrote: > > > On Apr 16, 2014, at 3:07 PM, J. Chris Anderson > <[email protected]<javascript:>> > wrote: > > There's no good reason to have a source dependency on Couchbase Lite > (instead of downloading the pre-built packages) unless you like getting cut > by the bleeding edge. For folks who do, I've written up my adventures > creating a project that uses Couchbase Lite as a source dependency. > > > Chris has some specific needs* that require adding the CBL sources > directly to his project. But in general, it’s a lot easier to instead check > out and build CBL in its own project, then take the framework it produces > and add that to your app project. Consider doing it that way before you try > to follow Chris down the very bumpy rabbit-hole he’s fallen into :) > > —Jens > > * creating a CBL PhoneGap plugin that can be built by Adobe’s hosted build > system > -- 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/0dd4d147-57c2-470c-a49f-c0e4756609f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
