Jump to content

Problems when adding frameworks


1 post in this topic

Recommended Posts

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 :thumbsup_anim:

 

 

Any suggestions ???????

 

I have uploaded the project, in case this may help.

Link to comment
Share on other sites

 Share

×
×
  • Create New...