作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我刚刚升级到 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/
我是一名优秀的程序员,十分优秀!