2012-02-03 7 views
1

수 있습니다 어느 하나이 오류를 해결하는 방법을 말해주십시오 ... 내 X-Code는 버전 4.2입니다. 내 IOS 시뮬레이터는 오류가 뭔가를 언급 버전 5.0종료 코드 1을 사용하여 clang을 실패했습니다.

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 = 아이폰 OS 3.2 (첫 번째 아이 패드 OS)에 대한 참조입니다

30200. 빌드 타겟을 확인하고 iOS 5 용으로 구축하고 배포 타겟이 4.3 이상인지 확인하십시오.

그게 도움이되지 않는다면 아마도 "그 Xcode 버그 중 하나"일 것이고 깨끗한 빌드를하고 시뮬레이터를 재설정하고 프로젝트 캐시를 지우고 Mac을 재부팅하면 문제가 해결 될 것입니다.

+2

재생을위한 Thnx. 다른 솔루션입니다. 작동하지 않습니다. – Ayaz

+1

나는이 오류와 매우 흡사하다 : D__IPHONE_OS_VERSION_MIN_REQUIRED = 40000 –

+0

같은 의미이지만, 귀하의 경우에는 iOS 4.0으로 설정되었다는 것을 의미합니다. –

관련 문제