#CBLProject Example of using couchbase-lite-ios framework in iOS project. Check the results in Xcode console.
##To Use this project
- Clone the project.
- Put CouchbaseLite.framework in root directory.
- Run the project.
- Create new project
- Under project's Build Settings, search Other Linker Flags and put in -ObjC. (Case Sensitive)
- Next, under project's Build Phases, add following frameworks:
- CFNetwork.framework
- Security.framework
- SystemConfiguration.framework
- libsqlite3.dylib
- libz.dylib
- Copy CouchbaseLite.framework to Frameworks folder inside Xcode file navigation bar. Remember to check the Copy Items if needed box.
- Create a Objective-c bridge header file and name anything you want. BridgeHeader.h in my case.
- Under project's Build Settings, search Objective-C Bridge and put in $SRCROOT/CBLProject/BridgeHeader.h.