1: error: 運行程序出現file too small (length=0)
ld: file too small (length=0) file '/Users/Allister/Library/Developer/Xcode/DerivedData/Haze_Meter-dkjjcmjehyitmcbhkcbujnsrhwpu/Build/Intermediates/Haze Meter.build/Debug-iphonesimulator/Haze Meter.build/Objects-normal/x86_64/ViewController.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解決方法
1.選擇xcode菜單的Product下的Clean,或者組合鍵是Cmd+Shift+K,清除一遍
2.重新編譯
相關鏈接
http://stackoverflow.com/questions/14034048/xcode-linker-error-file-too-small-for-architecture-x86-64
2.
ld: library not found for -lSocialEmail
clang: error: linker command failed with exit code 1 (use -v to see invocation)
QQ20170214-160644@2x.png
解決方法
1.png
參考 : http://stackoverflow.com/questions/24050012/error-library-not-found-for
3: WARNING ITMS-90703:
WARNING ITMS-90703: "Deprecated Xcode Build. Due to resolved app archives issues, we will soon be deprecating Xcode 8.3, at which time app archives built with 8.3 will no longer be accepted by the App Store. Download the most recent update of Xcode, rebuild your app and resubmit."
下載最新版本的xcode. 蘋果是一言堂的公司。 失望!