2

我想问你一个可能很简单但我没有找到原因的问题。我刚开始 iPhone 编程。每当我尝试构建任何包含 CATransitions 的东西时,都会出现这种情况。

"_OBJC_CLASS_$_CATransition", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

当我将 CoreAnimations 添加到我的项目时,我收到此错误:

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x68352b0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.

你知道如何解决这个问题。谢谢!

4

1 回答 1

2

在组和文件夹部分你能看到 QuartzCore.framework 吗?另外,在您的“ViewController.h”或 .m 中,您有 #include 吗?

于 2011-11-28T18:29:29.707 回答