本文介绍了架构i386的未定义符号“_OBJC_CLASS _ $ _ Appirater”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

添加Appirater到我的iOS项目后,当我编译,我得到的错误:

After adding Appirater to my iOS project, when I compile, I get the error:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_Appirater", 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)

在互联网上搜索和搜索,没有找到的解决方案有帮助。

After searching and searching on the internet, none of the solutions found helped.

我的项目和目标设置为:

Both my project and target are setup as:

我应该怎么做? p>

What should I try more?

推荐答案

我认为,您只是将文件添加到项目,而不是目标。

单击项目导航中的c $ c> Appirater.m 文件,并在目标成员资格 文件检查器

I think, that you only added files to project, but not to target.
Click on Appirater.m file in Project Navigator and set checkbox near to your target name in Target membership of File Inspector.

这篇关于架构i386的未定义符号“_OBJC_CLASS _ $ _ Appirater”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-28 19:53