title: Foundation called mkdir(...), it didn't return 0, and errno was set to 2
body: <p>I'm following a tutorial in the book <em>Creating iOS 5 Apps Develop and Design</em>. I followed the directions as perfectly as I could but I keep getting this error. </p>
  
  <blockquote>
    <p>2012-10-27 14:40:14.384 Health Beat[10608:1c0f] Foundation called
    mkdir("/Users/dblock/Library/Application Support/iPhone
    Simulator/6.0/Applications/5B498D88-3062-4F89-90E2-4B3155C1E325/Library/Documentation/(A
    Document Being Saved By Health Beat)"), it didn't return 0, and errno
    was set to 2.</p>
  </blockquote>
  
  <p>I started this project and then updated to xcode 4.5.1 in the middle of it. I don't know if there is some setting that may make this not work.</p>
  
  <p><a href="https://dl.dropbox.com/u/81707637/Health%20Beat.zip" rel="nofollow">Link to files:</a></p>
  
  <p>OSX 10.8.2<br/>
  Xcode 4.5.1 (4G1004)<br/>
  MBP 15"<br/></p>