First of all, the title of this section clearly says this is for the FOURTH edition. You are posting questions about 3rd Edition, so I am moving this to the right place.
Second, you need to get the latest 4th edition if you plan to hope everything work in the latest Xcode 4.2.
Third, use the code below, you should be able to run:
//Program 2.1
// First program example
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
@autoreleasepool {
NSLog (@"Programming is fun!");
}
return 0;
}
Post back if you have further questions, happy programming!