Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/115.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 架构x86_64的未定义符号:一旦我得到Xcode 8_Ios_Xcode_Xcode8 - Fatal编程技术网

Ios 架构x86_64的未定义符号:一旦我得到Xcode 8

Ios 架构x86_64的未定义符号:一旦我得到Xcode 8,ios,xcode,xcode8,Ios,Xcode,Xcode8,我刚升级到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 sta

我刚升级到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)

我已经研究了一段时间,没有找到适合我的解决方案。我希望这能帮助其他可能有这个问题的人。

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

您所说的“删除一些框架搜索路径”是什么意思?请您详细说明一下