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 に答える