title: unqualifed id error iOS
body: <p>I am trying to compile an Xcode project and I am receiving a bunch of unwanted errors such as this</p>
  
  <pre><code>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i PhoneSimulator6.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:13:1: error: expected unqualified-id
  </code></pre>
  
  <p>The project works fine, but when I try to include this file "iRate.h" in my app delegate everything goes wrong. The app delegate class I am trying to include iRate is written in c++(cpp file). I don't know what other information you might need, but that pretty much sums it all up</p>
  
  <p>Here is another error message, hopefully this will help out a bit</p>
  
  <pre><code>  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:418:50: error: unknown type name 'NSString'
    FOUNDATION_EXPORT Protocol *NSProtocolFromString(NSString *namestr) NS_AVAILABLE(10_5, 2_0);
                                               ^
                                       ^
  </code></pre>