title: iOS SDK broken ever after reinstall UIKit and Foundation frameworks not found
body: <p>For the pch file I get these errors:</p>
  
  <blockquote>
    <p>/Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:6:34: error: Foundation/Foundation.h: No such file or directory</p>
    
    <p>/Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:7:24: error: UIKit/UIKit.h: No such file or directory</p>
  </blockquote>
  
  <p>Here's the file as it is by default:</p>
  
  <pre><code>//
  // Prefix header for all source files of the 'iPhone Monkey Curling' target in the 'iPhone Monkey Curling' project
  //
  
  #ifdef __OBJC__
  #import &lt;Foundation/Foundation.h&gt;
  #import &lt;UIKit/UIKit.h&gt;
  #endif
  </code></pre>
  
  <p>I reinstalled Xcode and the iOS SDK but that did not fix the problem. This problem occurred after adding the iAd framework to one of my projects but all of my projects won't compile.</p>
  
  <p>I'm using the latest SDK (4.1).</p>
  
  <p>The frameworks are there in the project. For some reason, when I try to add a new framework, it lists the OS X ones in an iOS project.</p>
  
  <p>Thank you for any help.</p>