Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/93.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 实施iRate时的问题_Ios_Xcode - Fatal编程技术网

Ios 实施iRate时的问题

Ios 实施iRate时的问题,ios,xcode,Ios,Xcode,将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

将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)

听起来好像在将.m文件添加到项目时,它没有分配给目标。在项目导航器中选择iRate.m。然后打开Xcode右侧的utilities视图。在“目标成员资格”下,确保选中了应用程序的目标。请重试生成。

听起来像是将.m文件添加到项目中时,它没有分配给目标。在项目导航器中选择iRate.m。然后打开Xcode右侧的utilities视图。在“目标成员资格”下,确保选中了应用程序的目标。请重试构建