#import <stdio.h>
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
printf("Hello World!!\n");
return 0;
}
I have a MacAir running OS X 10.6.1 with XCode version 3.2.1. When I attempt to compile the lines above I get 3951 errors. Most of them seem to be NSObjCRunntime.h file where NSString is defined. When I comment out #import <Foundation/Foundation.h>
I get no errors. Is there something wrong in my setup?
Thanks