我正在尝试在我的Mac应用中使用Mizage的window flipper library。
当我尝试构建它时,会发生以下错误:
Undefined symbols for architecture x86_64:
"_kCAGravityCenter", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_CATransform3DMakeRotation", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_kCAMediaTimingFunctionEaseInEaseOut", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_CATransform3DIdentity", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_CATransform3DRotate", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_OBJC_CLASS_$_CALayer", referenced from:
objc-class-ref in NSWindowFlipper.o
"_OBJC_CLASS_$_CABasicAnimation", referenced from:
objc-class-ref in NSWindowFlipper.o
"_OBJC_CLASS_$_CAMediaTimingFunction", referenced from:
objc-class-ref in NSWindowFlipper.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的基本SDK是10.7并启用了ARC。我是Cocoa的新手,之前没有见过这种错误。有人可以建议这里的问题是什么,可能如何解决?感谢。