2012-02-03 152 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

相关问题