Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem importing QuartzCore framework into Xcode project

I am using Xcode 4.

I am trying to import the QuartzCore framework into my Xcode project but I get the following compilation error:

/Users/sabobin/Desktop/PlayingCard/PlayingCard/PlayingCardViewController.m:10:26: error: Quartz/Quartz.h: No such file or directory

file://localhost/Users/sabobin/Desktop/PlayingCard/PlayingCard/PlayingCardViewController.m: error: Lexical or Preprocessor Issue: 'Quartz/Quartz.h' file not found

I navigated to the project target, and selected the Build Phases tab, and then added QuartzCore.framework to the Link Binary With Libraries section.

I then used the following import statement in my view controllers implementation file:

#import <Quartz/Quartz.h>

Does anyone have any ideas?

Thanks in advance.

like image 297
Sabobin Avatar asked Jun 29 '11 10:06

Sabobin


1 Answers

It should have

#import <QuartzCore/QuartzCore.h>
like image 199
iMOBDEV Avatar answered Oct 04 '22 02:10

iMOBDEV