title: XCode 4.4.1 ignores LD_RUNPATH_SEARCH_PATHS
body: <p>I am dealing with a weird behavior of XCode:</p>
  
  <pre><code>dyld: Library not loaded: /Library/Frameworks/SBJson.framework/Versions/A/SBJson
  </code></pre>
  
  <p>Basically it ignores my <code>Runpath Search Path</code> (<code>LD_RUNPATH_SEARCH_PATHS</code>) configuration that is actually <code>@loader_path/../Frameworks</code>.</p>
  
  <p>I am not able to load any embedded framework in this moment :/</p>
  
  <p><code>otool</code> says</p>
  
  <pre><code>otool -L /Users/kilian/Library/Developer/Xcode/DerivedData/r-ghohkslxtxgpnuepmblogfjtuefx/Build/Products/Debug/r.app/Contents/MacOS/r
  /Users/kilian/Library/Developer/Xcode/DerivedData/r-ghohkslxtxgpnuepmblogfjtuefx/Build/Products/Debug/r.app/Contents/MacOS/r:
    /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 19.0.0)
    /Library/Frameworks/SBJson.framework/Versions/A/SBJson (compatibility version 1.0.0, current version 37.0.0)
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 945.0.0)
    /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1186.0.0)
  </code></pre>
  
  <p>P.S. If you're wondering if I added the copy to framework build phase, the answer is yes.</p>