views:

274

answers:

2

I've included:

#import "QuartzCore/QuartzCore.h"

but when I try to build, I get the error mentioned in the title. Is there something else I need to do to tell XCode to include the framework?

The code where I use it is:

CALayer *layer = paperView.layer;
CATransform3D rotation = CATransform3DMakeRotation(1, 0, 0, 1);
A: 

Try adding the CoreGraphics.framework to you project.

Right click Frameworks -> Add -> Existing Frameworks.

Rhythmic Fistman
Thanks, this was close, but I didn't see this before I corrected the problem with the answer I posted. This would have been magic if I had seen it earlier.
Curyous
+1  A: 

I got it working by:

In the "Groups & Files" pane on the left:

Right click Frameworks -> Add -> Existing Frameworks

and add QuartzCore.Framework

Curyous