title: Why is this library not found on Mac OS X?
body: <p>I'm making a small proof of concept of using CEF on MacOSX. I took the Chromium Embedded Framework.framework and changed it's rpath by running:</p>
  
  <pre><code>install_name_tool -id "@rpath/Chromium Embedded Framework.framework/Chromium Embedded Framework" Chromium\ Embedded\ Framework.framework/Chromium\ Embedded\ Framework
  </code></pre>
  
  <p>and then compiled and run the program like this:</p>
  
  <pre><code>$ ./cefobjchelper.app/Contents/MacOS/cefobjchelper
  dyld: Library not loaded: @executable_path/Chromium Embedded Framework
    Referenced from: /Users/pupeno/Library/Developer/Xcode/DerivedData/cefobjc-bxtruyemnyagwwgdejtzuxngovsr/Build/Products/Debug/./cefobjchelper.app/Contents/MacOS/cefobjchelper
    Reason: image not found
  Trace/BPT trap: 5
  </code></pre>
  
  <p>I understand that @executable_path/Chromium Embedded Framework doesn't really exist, but why is it even looking for it when I corrected the path in the CEF?</p>
  
  <p>Just to be sure I checked that the CEF included in the bundle had the correct path and it did:</p>
  
  <pre><code>$ otool -D cefobjchelper.app/Contents/Frameworks/Chromium\ Embedded\ Framework.framework/Chromium\ Embedded\ Framework
  cefobjchelper.app/Contents/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework:
  @rpath/Chromium Embedded Framework.framework/Chromium Embedded Framework
  </code></pre>
  
  <p>What am I missing here?</p>