ipad? That's iOS and those templated files should include <Foundation/Foundation.h> not <Cocoa/Cocoa.h>, did you pick the wrong file type from the template.
On 04-Jan-2011, at 1:47 AM, Phil Hystad wrote: > I just started playing around with Xcode and Cocoa again and doing a few > little iPad apps. When I add a class to the project, (simple NSObject based > class) the .h file includes the import for <Cocoa/Cocoa.h>. But, the build > and compile fails because it says this header file is not found. > > This happens even if I do absolutely nothing to the class files other then > use the regular File create class option. This can be repeated easily by > merely creating an iPad view application shell. If you do an immediate build > it works. If you were to create a new class as I described (and not modify > the generated .h,.m files) the build fails with the Cocoa.h file not being > found. > > Obviously something is askew in what I am doing. > > phil > phys...@mac.com > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org > > This email sent to r...@rols.org _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com