2012-02-03 154 views
1

可以任何一個告訴我如何解決這個錯誤... 我的X代碼是版本4.2。 我IOS模擬器是5.0版鐺失敗退出代碼1

Ld build/Debug-iphonesimulator/M3DFree.app/M3DFree normal i386 
cd "/Users/savvy3/Desktop/Ayaz/Hemant Sir/PlayScreen-M3D_V2-41d4396ba6d1c8687eb2b744a700649849583714/match3D" 
setenv MACOSX_DEPLOYMENT_TARGET 10.6 
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk "-L/Users/savvy3/Desktop/Ayaz/Hemant Sir/PlayScreen-M3D_V2-41d4396ba6d1c8687eb2b744a700649849583714/match3D/build/Debug-iphonesimulator" "-F/Users/savvy3/Desktop/Ayaz/Hemant Sir/PlayScreen-M3D_V2-41d4396ba6d1c8687eb2b744a700649849583714/match3D/build/Debug-iphonesimulator" -filelist "/Users/savvy3/Desktop/Ayaz/Hemant Sir/PlayScreen-M3D_V2-41d4396ba6d1c8687eb2b744a700649849583714/match3D/build/Match3D.build/Debug-iphonesimulator/Match3DFree.build/Objects-normal/i386/M3DFree.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 AppController.m -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -framework GameKit -lsqlite3.0 -framework StoreKit -framework MediaPlayer -framework AudioToolbox -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -framework QuartzCore -o "/Users/savvy3/Desktop/Ayaz/Hemant Sir/PlayScreen-M3D_V2-41d4396ba6d1c8687eb2b744a700649849583714/match3D/build/Debug-iphonesimulator/M3DFree.app/M3DFree" 

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1 

回答

2

的錯誤中提到一些有關

D__IPHONE_OS_VERSION_MIN_REQUIRED = 30200

哪個到iOS 3.2(第一ipad公司OS)的引用。檢查您的構建目標,並確保您正在構建iOS 5並且部署目標爲4.3或更高。

如果這沒有幫助,那麼它可能只是「這些Xcode錯誤之一」,並做一個乾淨的構建,重置您的模擬器,清除項目緩存並重新啓動您的Mac可能會解決它。

+2

Thnx爲您的重播。是他們的任何其他解決方案它不工作。 – Ayaz 2012-02-03 13:45:40

+1

我越來越像這個錯誤:D__IPHONE_OS_VERSION_MIN_REQUIRED = 40000 – 2014-03-13 11:02:24

+0

這意味着相同,但在你的情況下,它是說它設置爲iOS 4.0。 – 2014-03-13 16:18:44

相關問題