Undefined symbols for architecture i386:
"_OBJC_CLASS_$_PHAppDelegate", referenced from:
objc-class-ref in main.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我所做的只是添加了 philips hue SDK,并将应用程序委托文件替换为 PHAppDelegate.h 和 .m。然后我更改了 main.m 以使用新的应用程序委托文件,当我构建时,我收到了这个错误。有什么见解吗?