在将iRate添加到我的应用程序时,我收到以下错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_iRate", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)发布于 2012-10-16 09:47:33
听起来,当您将.m文件添加到项目中时,它并没有分配给您的目标。在项目导航器中选择iRate.m。然后打开Xcode右侧的实用工具视图。在Target Membership下,确保选中了您的应用程序的目标。再次尝试构建。
https://stackoverflow.com/questions/12906334
复制相似问题