gpt4 book ai didi

ios - 架构 x86_64 : Once I got Xcode 8 的 undefined symbol

转载 作者:行者123 更新时间:2023-12-04 20:07:17 25 4
gpt4 key购买 nike

我刚刚升级到 Xcode 8,现在我的应用程序不起作用。它显示这些错误消息。

 ld: warning: directory not found for option '-F/Users/Connor/Desktop/Print start/Print'
ld: warning: directory not found for option '-Fstart/StarPrinting'
ld: warning: ignoring file /Users/Connor/Desktop/Print start/Print start/libStarPrinting.a, file was built for archive which is not the architecture being linked (x86_64): /Users/Connor/Desktop/Print start/Print start/libStarPrinting.a
ld: warning: ignoring file /Users/Connor/Desktop/Print start/Print start/QuartzCore.framework/QuartzCore.tbd, missing required architecture x86_64 in file /Users/Connor/Desktop/Print start/Print start/QuartzCore.framework/QuartzCore.tbd (3 slices)
ld: warning: ignoring file /Users/Connor/Desktop/Print start/Print start/CoreGraphics.framework/CoreGraphics.tbd, missing required architecture x86_64 in file /Users/Connor/Desktop/Print start/Print start/CoreGraphics.framework/CoreGraphics.tbd (3 slices)
ld: warning: ignoring file /Users/Connor/Desktop/Print start/Print start/UIKit.framework/UIKit.tbd, missing required architecture x86_64 in file /Users/Connor/Desktop/Print start/Print start/UIKit.framework/UIKit.tbd (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_UIAlertView", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_UIResponder", referenced from:
_OBJC_CLASS_$_AppDelegate in AppDelegate.o
"_OBJC_CLASS_$_UIViewController", referenced from:
_OBJC_CLASS_$_ViewController in ViewController.o
"_OBJC_METACLASS_$_UIResponder", referenced from:
_OBJC_METACLASS_$_AppDelegate in AppDelegate.o
"_OBJC_METACLASS_$_UIViewController", referenced from:
_OBJC_METACLASS_$_ViewController in ViewController.o
"_UIApplicationMain", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我已经研究了一段时间,但没有找到适合我的解决方案。我希望这可以帮助任何可能遇到此问题的人。

最佳答案

我通过删除一些 Frameworks 搜索路径解决了这个问题,它运行得很好。我仍然不确定仅更新到 Xcode 8 是如何影响的。

关于ios - 架构 x86_64 : Once I got Xcode 8 的 undefined symbol ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39552473/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com