0

特定のサブクラスの新しいファイルを作成しようとすると、次のエラーが発生します。

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SDNestedTableViewController", referenced from:
      _OBJC_CLASS_$_MenuViewController in MenuViewController.o
"_OBJC_METACLASS_$_SDNestedTableViewController", referenced from:
      _OBJC_METACLASS_$_MenuViewController in MenuViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

MenuViewControllerのサブクラスと呼ばれるファイルを作成しましたSDNestedTableViewController

サブクラス ファイルへのリンクは次のとおりです。

何か案は?

PS全体として、SDNestedTableをサブビューに追加しようとしています。それを手伝ってくれれば、それは素晴らしいことです。

4

1 に答える 1

2

確認しましたか

プロジェクト設定>ビルドフェーズ>ソースのコンパイル

すべての.mファイルがそれらのファイルに含まれていますか?(MenuViewController && SDNestedTableView Controller)?

于 2012-10-08T21:19:52.390 に答える