title: NSSearchPathForDirectoriesInDomains returns the wrong directory
body: <p>I'm using <code>NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)</code> to get the application documents directory in my app, but the array that's returned contains only one object, and it's an unwritable, incorrect directory:</p>
  
  <p>/Users/me/Library/Application Support/iPhone Simulator/Documents</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/1175367/nssearchpathfordirectoriesindomains-trouble-losing-hair-fast">this question</a> which indicates that the problem is related to provisioning, but the answer says little more than that. So I guess I'm asking a duplicate question, but the answer to that question is insufficient, so I'm hoping to get an actual answer in this one.</p>