Apple has created or modified several command-line tools for
compilation, debugging, performance analysis, and so on. Table 4.2 lists some of the more useful tools. You can
get further information by using the manpages system. The tools are
all located in the /usr/bin
directory.
Table 4-2. Command-Line Development Tools
Although the Mac OS X development environment includes many of the tools discussed in this chapter, the tutorials in this book focus almost exclusively on the use of Project Builder and Interface Builder. Some tools, such as the compiler and the linker, are usually invoked indirectly through Project Builder. Most other tools are not strictly necessary for building Cocoa applications. However, the debugging and performance analysis tools ObjectAlloc, QuartzDebug, and Sampler are extremely useful for understanding the details of an application’s inner workings. Feel free to experiment with them at any point in the tutorial-building process.
Get Learning Cocoa now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.