Search code examples
iphonecore-animationbuild-error

Can't build iphone project in xcode with CATRansform3DMakeRotation


I need to use CATRansform3DMakeRotation function in my project, but when I try to compile I get an build error

    Undefined symbols:
  "_CATransform3DMakeRotation", referenced from:

if I comment the function out the project builds fine.

Any ideas why is this happening?


Solution

  • Not enough to include the QuartzCore header file, you also have to right click "Frameworks", select "Add Existing Frameworks" and add "QuartzCore.framework". Problem solved :)