title: Can't instantiate NSURL with file path
body: <p>When creating an NSURL with <code>[NSURL fileURLWithPath:[@"~/Movies" stringByExpandingTildeInPath]]</code>, I get following error in the console:</p>
  
  <p><code>-[NSURL initWithScheme:host:path:]: path file:/localhost/Users/michael is not absolute.</code></p>
  
  <p>It worked while compiling in Debug mode, this problem occured only after switching to Release.</p>
  
  <p>EDIT: Just to clarify, I get the error message at run time when the NSURL object is initialized, not while building.</p>