ios – Apple Mach-O Linker错误,我不知道该怎么办

ios – Apple Mach-O Linker错误,我不知道该怎么办,第1张

概述我无法为设备或模拟器编译我的项目。我得到13苹果Mach-O-Linker错误。这一切都是在我尝试使用sharekit后才开始的。这是从错误的日志: ld: warning: directory not found for option '-F/Users/bbrandy95/Documents/Broken Brandsonic Web Projects/Brandsonic Web mobil 我无法为设备或模拟器编译我的项目。我得到13苹果Mach-O-linker错误。这一切都是在我尝试使用sharekit后才开始的。这是从错误的日志:

ld: warning: directory not found for option '-F/Users/bbrandy95/documents/broken Brandsonic Web Projects/Brandsonic Web mobile/../../Downloads/0.2.1gm1/iphoneos4.0/System/library/Frameworks'Undefined symbols for architecture armv7:  "_OBJC_CLASS_$_NSURLRequest",referenced from:      objc-class-ref in Brandsonic_Web_mobileAppDelegate.o      objc-class-ref in Brandsonic_Web_mobileVIEwController.o  "_OBJC_CLASS_$_NSautoreleasePool",referenced from:      objc-class-ref in main.o  "_objc_msgSendSuper2",referenced from:      -[Brandsonic_Web_mobileAppDelegate dealloc] in Brandsonic_Web_mobileAppDelegate.o      -[Brandsonic_Web_mobileVIEwController dIDReceiveMemoryWarning] in Brandsonic_Web_mobileVIEwController.o      -[Brandsonic_Web_mobileVIEwController dealloc] in Brandsonic_Web_mobileVIEwController.o  "_objc_setProperty",referenced from:      -[Brandsonic_Web_mobileAppDelegate setwindow:] in Brandsonic_Web_mobileAppDelegate.o      -[Brandsonic_Web_mobileAppDelegate setVIEwController:] in Brandsonic_Web_mobileAppDelegate.o  "__objc_empty_vtable",referenced from:      _OBJC_CLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o      _OBJC_MetaCLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o      _OBJC_CLASS_$_Brandsonic_Web_mobileVIEwController in Brandsonic_Web_mobileVIEwController.o      _OBJC_MetaCLASS_$_Brandsonic_Web_mobileVIEwController in Brandsonic_Web_mobileVIEwController.o      _OBJC_MetaCLASS_$_SecondVIEw in SecondVIEw.o      _OBJC_CLASS_$_SecondVIEw in SecondVIEw.o  "_objc_msgSend",referenced from:      _main in main.o      -[Brandsonic_Web_mobileAppDelegate application:dIDFinishLaunchingWithOptions:] in Brandsonic_Web_mobileAppDelegate.o      -[Brandsonic_Web_mobileAppDelegate dealloc] in Brandsonic_Web_mobileAppDelegate.o      -[Brandsonic_Web_mobileAppDelegate Google] in Brandsonic_Web_mobileAppDelegate.o      -[Brandsonic_Web_mobileAppDelegate YOUTUBE] in Brandsonic_Web_mobileAppDelegate.o      -[Brandsonic_Web_mobileAppDelegate WIKI] in Brandsonic_Web_mobileAppDelegate.o      -[Brandsonic_Web_mobileVIEwController webVIEw:shouldStartLoaDWithRequest:navigationType:] in Brandsonic_Web_mobileVIEwController.o      ...  "__objc_empty_cache",referenced from:      _OBJC_CLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o      _OBJC_MetaCLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o      _OBJC_CLASS_$_Brandsonic_Web_mobileVIEwController in Brandsonic_Web_mobileVIEwController.o      _OBJC_MetaCLASS_$_Brandsonic_Web_mobileVIEwController in Brandsonic_Web_mobileVIEwController.o      _OBJC_MetaCLASS_$_SecondVIEw in SecondVIEw.o      _OBJC_CLASS_$_SecondVIEw in SecondVIEw.o  "_OBJC_CLASS_$_NSObject",referenced from:      _OBJC_CLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o  "___CFConstantStringClassReference",referenced from:      CFString in Brandsonic_Web_mobileAppDelegate.o      CFString in Brandsonic_Web_mobileAppDelegate.o      CFString in Brandsonic_Web_mobileAppDelegate.o      CFString in Brandsonic_Web_mobileVIEwController.o      CFString in Brandsonic_Web_mobileVIEwController.o      CFString in Brandsonic_Web_mobileVIEwController.o      CFString in Brandsonic_Web_mobileVIEwController.o      ...  "_OBJC_CLASS_$_NSKeyedUnarchiver",referenced from:      objc-class-ref in Brandsonic_Web_mobileVIEwController.o  "_OBJC_CLASS_$_NSUserDefaults",referenced from:      objc-class-ref in Brandsonic_Web_mobileVIEwController.o  "_OBJC_CLASS_$_NSURL",referenced from:      objc-class-ref in Brandsonic_Web_mobileAppDelegate.o      objc-class-ref in Brandsonic_Web_mobileVIEwController.o  "_OBJC_MetaCLASS_$_NSObject",referenced from:      _OBJC_MetaCLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o      _OBJC_MetaCLASS_$_Brandsonic_Web_mobileVIEwController in Brandsonic_Web_mobileVIEwController.o      _OBJC_MetaCLASS_$_SecondVIEw in SecondVIEw.old: symbol(s) not found for architecture armv7clang: error: linker command Failed with exit code 1 (use -v to see invocation)'

我该如何解决?请帮忙。

解决方法 对于每一个有类似错误的人。
如果发生这种情况,通常可以删除Point下的“路径”

目标 – >构建设置 – >库搜索路径

总结

以上是内存溢出为你收集整理的ios – Apple Mach-O Linker错误,我不知道该怎么办全部内容,希望文章能够帮你解决ios – Apple Mach-O Linker错误,我不知道该怎么办所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1074688.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-26
下一篇 2022-05-26

发表评论

登录后才能评论

评论列表(0条)

保存