Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/119.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 xCode失败的链接器_Ios_Objective C_Xcode_Linker - Fatal编程技术网

Ios xCode失败的链接器

Ios xCode失败的链接器,ios,objective-c,xcode,linker,Ios,Objective C,Xcode,Linker,尝试在Xcode中构建iOS应用程序时,我收到以下错误消息 Undefined symbols for architecture i386: "OBJC_CLASS$UIPresentationController", referenced from: _OBJC_CLASS$SSSidebarPresentationController in libtools.a(SSSidebarPresentationController.o) "_OBJC_METACLASS$UIPresentatio

尝试在Xcode中构建iOS应用程序时,我收到以下错误消息

Undefined symbols for architecture i386: "OBJC_CLASS$UIPresentationController", referenced from: _OBJC_CLASS$SSSidebarPresentationController in libtools.a(SSSidebarPresentationController.o) "_OBJC_METACLASS$UIPresentationController", referenced from: _OBJC_METACLASS$_SSSidebarPresentationController in libtools.a(SSSidebarPresentationController.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我有最新版本的Xcode。我尝试过清理和删除派生数据,但没有帮助。我注意到互联网上很多其他人都有类似的错误消息,但解决方案对我没有帮助。

将AVFoundation和CoreLocation框架添加到您的目标中。完成此操作后,删除派生数据,清理并重新生成

此外,请在“构建设置”下签入您的体系结构,并确保在“有效体系结构”下列出了armv7和armv7。如果上述答案无法解决您的问题,请尝试添加或删除arm64

可能重复的