1
很奇怪:我想運行一個簡單的Hello World程序,但Xcode中說:「構建失敗」的Xcode:構建失敗,每一次爲一個簡單的Hello Word程序
我在日誌導航看到它說2警告和1個錯誤:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
代碼:
#import <Foundation/Foundation.h>
int main (int argc, const char *argv[])
{
NSLog (@"Hello, Objective-C!");
return (0);
}
http://backup.noiseandheat.com/blog/2012/01/clang-failed-with-exit-code-1/? – odedsh 2014-09-27 04:20:14
嘗試創建一個新項目並運行它... – 2014-09-27 04:20:44