Objective c XCODE命令行>基础问题

Objective c XCODE命令行>基础问题,objective-c,macos,foundation,Objective C,Macos,Foundation,我试图建立一个命令行>基金会Hello World项目。正如在《mac学习目标C》一书中所写的那样……当我使用该项目的默认设置选择“构建和运行”时,我得到了4个错误,没有修改任何代码 错误: stdarg.h: no such file or directory float.h: no such file or directory xmmintrin.h: no such file or directory expected specifier-qualifier-list 由苹果支持解决 项

我试图建立一个命令行>基金会Hello World项目。正如在《mac学习目标C》一书中所写的那样……当我使用该项目的默认设置选择“构建和运行”时,我得到了4个错误,没有修改任何代码

错误:

stdarg.h: no such file or directory
float.h: no such file or directory
xmmintrin.h: no such file or directory
expected specifier-qualifier-list

由苹果支持解决


项目是在10.4SDK而不是10.6SDK下运行的。通过在左窗格中选择项目标题,然后选择“信息”选项来更改此设置

是否可以发布您的代码?这确实会有帮助。错误图像:import int main int argc,const char*argv[]{NSAutoreleasePool*pool=[[NSAutoreleasePool alloc]init];//在此处插入代码。。。NSLog@Hello,世界!;[pool release];返回0;}和头:///前缀头,用于“无标题”项目中“无标题”目标的所有源文件。//ifdef OBJC import ENDIFF您在哪个系统上运行?