On May 24, 2014, at 3:48 PM, Nate Smith <[email protected]> wrote:

> Ya, that's the folder I drug into my project, then when I run it I get the 
> error:

Did you follow all the steps? Adding a 3rd party framework to an app is 
unfortunately non-trivial. The runtime error you’re getting says that the 
loader can’t find the CBL framework when it tries to resolve the libraries your 
app binary links with, which implies the framework is missing or in the wrong 
place or your binary’s reference to where it should be is wrong. Make sure you 
followed these steps:

For a Mac OS target, you'll need to make sure the framework is copied into your 
app's bundle:
To to the "Build Settings" tab of your app target's settings.
In the "Linker" section, edit "Runpath Search Paths" and add the path 
"@loader_path/../Frameworks".
Now switch to to the "Build Phases" tab.
Press the "Add Build Phase" button at the bottom of the window and create a new 
"Copy Files" phase.
Set the phase's destination to "Frameworks".
Press the "+" button below the phases' file list and select 
CouchbaseLite.framework to add it.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to