3
我剛升級到Xcode 8,現在我的應用程序無法正常工作。它顯示這些錯誤消息。架構x86_64的未定義符號:一旦我得到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)
我一直在調查這一段時間,還沒有找到一個解決方案,爲我工作。我希望這可以幫助任何可能有這個問題的人。