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.
It should have
#import <QuartzCore/QuartzCore.h>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With