编译报错如下:
The run destination My Mac 64-bit is not valid for Running the scheme 'Hello Objective-C'.
这是因为没有安装源码工程中所使用的SDK(OS X 10.5)导致, 在工程选项中把Base SDK设置成你已安装的版本即可.
解决办法:
1) Click on the project icon in the left hand panel. 2) In the right hand panel that appears, select Build Settings » all. 3) You'll see the option to change the SDK.