title: dyld: Library not loaded: ../lib/abc.dynlib
body: <p>I am having trouble getting a my XCode 4.2 project to run against a dynamic library (dynlib).</p>
  
  <p>What I am doing is adding the library into xcode project, and then creating a new 'Copy Files' build phase with this lib.</p>
  
  <p>The project does(!) run well if I set the Destination in the build phase to 'Products Directory', but then I have to deliver the lib with the app as opposed to embedded inside it.</p>
  
  <p>I get the error in the title in all other settings of Destination in the build phase.</p>
  
  <p>Also, I tried to quit xcode, delete build directory, clean, and all such tricks.</p>
  
  <p>Is there a project/target setting I am missing?
  Why is XCode looking for the dynlib in '../lib/'? (as shown in error)</p>