2009-09-03 3 views
0

이 오류를 얻기 :Clang 정적 분석기를 시작할 수 없습니다. 왜?

내가 엑스 코드 내에서이 스크립트를 실행할 때이 문제가 발생
2009-09-03 12:44:02.307 xcodebuild[307:10b] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' 

:

#!/bin/bash 
result=$(osascript << END 
tell application "Xcode" 
tell active project document 
    set projectPath to path as string 
end tell 
end tell 
return projectPath 
END 
) 

cd "$result" 

/Developer/clang/scan-build -k -V xcodebuild -configuration Debug -sdk iphonesimulator2.2.1 

그것은 모두 잘 작동하지만, 갑자기 엑스 코드를 다시 시작한 후에 작동이 중지. Clang은 여전히 ​​설치되어 있고 지정된 경로에 있습니다. 그 메시지가 무슨 뜻인지 아는가?

답변

0

SnowLeopard와 Xcode 3.2가있는 경우 빌드 및 분석 메뉴 명령을 사용하여 Clang을 실행할 수 있습니다.

관련 문제