Objective c 在AppView中集成设置

Objective c 在AppView中集成设置,objective-c,ios,xcode,Objective C,Ios,Xcode,我正在尝试实现InAppSettingKit,并出现以下错误: Undefined symbols for architecture i386: "_OBJC_CLASS_$_MFMailComposeViewController", referenced from: objc-class-ref in IASKAppSettingsWebViewController.o objc-class-ref in IASKAppSettingsViewController.o ld: s

我正在尝试实现InAppSettingKit,并出现以下错误:

  Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MFMailComposeViewController", referenced from:
  objc-class-ref in IASKAppSettingsWebViewController.o
  objc-class-ref in IASKAppSettingsViewController.o
 ld: symbol(s) not found for architecture i386
 clang: error: linker command failed with exit code 1 (use -v to see invocation)
InAppSettingKit用于集成应用程序内部的设置

我导入的代码有一些ARC问题,所以我只是对导入的每个文件禁用了ARC。但是现在我遇到了这个错误

我没有任何名为MFMailComposeViewController的文件,因此如何将其包含在编译源代码中


我是iOS新手,如果有人能解释在应用程序中集成设置的步骤,我将不胜感激。

由于您是新手,您可能不熟悉如何添加框架。在项目资源管理器中选择项目,然后选择目标,然后选择构建阶段。在构建阶段,有一部分用于将二进制文件链接到库。选择该选项并单击+符号。它将向您显示一个框架列表,您必须从中选择并包括MessageUI.framework。

您需要将MessageUI框架包括到目标中。我将此作为答案发布,但它已转换为评论。