我一直在查看有关此错误的无数帖子:
Undefined symbols for architecture i386:
"_OBJC_IVAR_$_UIViewController._view", referenced from:
-[ViewController viewDidLoad] 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)
我已经检查了 .m 文件和链接库并复制了捆绑文件。我正在使用 xcode 4.6.2 版本。我想在 ViewDidLoad 中以编程方式制作按钮。