2013-04-17 29 views
1

任何人都可以幫助我嗎?用AppleMach-Olinker錯誤修正錯誤iOS

LD 「/用戶/ orkideh /庫/開發商/ Xcode中/ DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh /編譯/產品/調試-iphonesimulator /新GUI.app/New GUI」 正常I386 CD「/用戶/ orkideh /下載/新GUI「 setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 setenv PATH」/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/ bin:/ usr/sbin:/ sbin「 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app /Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbaua hh/Build/Products/Debug-iphonesimulator -F/Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh/Build/Products/Debug-iphonesimulator -filelist「/ Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh/Build/Intermediates/New GUI.build/Debug-iphonesimulator/New GUI.build/Objects-normal/i386/New GUI.LinkFileList「-Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-運行時-Xlinker -no_implicit_dylibs -mios-simulator-version-min = 6.1 -framework CoreMedia -framework帳戶-framework社交框架UIKit -framework基礎框架CoreGraphics -framework iAd -o「/ Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh /編譯/產品/調試-iphonesimulator /新GUI.app/New GUI」

爲i386硬件架構未定義的符號: 「_main」,R在crt1.o LD 開始:從eferenced符號(S)沒有找到i386硬件架構 鐺:錯誤:連接命令,退出代碼1失敗(使用-v看到調用)

我不知道是什麼錯誤是和我應該如何解決this.any幫助表示讚賞

回答

0

我覺得你是缺少一些框架,所以請導入這些框架...

1. CoreGraphics 
2. Social 
3. Accounts etc. 

,告訴我你已經導入該框架。 ?

+0

我檢查了我正在使用的所有框架!首先移動它們,然後再添加它們,但仍然是同一個東西:( –

+0

請關閉你的xcode並打開它。因爲我已經遇到了這個問題。並且我使用這種方法得到了解決方案。之後,我的xcode正常工作。 –