在《Objective-C基础教程》中例程要求选择Xcode中Mac OS X - Command Line Utility - Foundation Tool
但在Xcode3.2.5中Mac OS X中没有Command Line Utility,
左侧只有
Application
Framework & Library
Application Plug-in
System Plug-in
Other,
选择Application,
右边有Cocoa Application/Cocoa-AppleScript Application/Quartz Composer Application/Command Line Tool,
选择Command Line Tool,查看下拉菜单Type,有Foundation/C/C++ stdc++/Core Data/Core Foundation/Core Services/Foundation选项,
选择Foundation即可,如图
