I got tired of looking for this everytime I make a simple one-off tool without using Project Builder:#importint main (int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; [pool release]; } // main And you can compile it on the command line with:
cc -o test -framework Foundation file-name.m