title: Xcode and dylib search path
body: <p>I have a framework with installation directory <code>@rpath</code> and app with runpath search path <code>@loader_path/../Frameworks</code> which uses this framework.</p>
  
  <p>After building I have <code>My.app</code> and <code>My.framework</code> in <code>Build/Products/Debug</code> directory and I <strong>don't</strong> copy <code>My.framework</code> into <code>My.app</code> bundle.</p>
  
  <p>If I run <code>My.app</code> from Xcode it runs and loads framework from <code>Build/Products/Debug</code> directory. If I run my app from Finder it can't load the framework as expected.</p>
  
  <p>Does Xcode set runtime search path and how? DYLD_LIBRARY_PATH? </p>