ASL-XCODE Posted July 9, 2008 Share Posted July 9, 2008 I am new to X-code, and I just experienced my first bad problem. It happened when I added an existing framework "Quartz" to a newly created "Cocoa Application" project. After that, the project cannot compile anymore. The error is in the "pch" file, where the file "Cocoa.h" can not be found (anymore ???): // // Prefix header for all source files of the 'ddd' target in the 'ddd' project // #ifdef __OBJC__ #import <Cocoa/Cocoa.h> #endif[/font] This is what I did: 1) start Xcode 2) create a new "Cocoa Application" project 3) compile the project 4) no errors 5) add a framework, for instance Quartz 6) compile the project 7) errors Any suggestions ??????? I have uploaded the project, in case this may help. Link to comment Share on other sites More sharing options...
Recommended Posts