Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 225
Peter Pajchl Avatar asked Jan 29 '26 16:01

Peter Pajchl


1 Answers

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

like image 59
Peter Pajchl Avatar answered Jan 31 '26 09:01

Peter Pajchl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!