Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sujithkrishnan

macrumors 6502
Original poster
May 9, 2008
265
0
Bangalore
Please someone tell me why this warning is there??

warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler 'com.apple.compilers.llvm.clang.1_0.analyzer'


I am running the xcodebuild task through ant (build.xml).

I tried xcodebuild -project myProject in Terminal, and not getting any warning, but if i am building the project through ant i am getting the warning..

In my build.xml
Code:
<exec executable="xcodebuild">
			<arg value="clean"/>
			<arg value="-project"/>
			<arg value="./myProject.xcodeproj"/>
        </exec>

<exec executable="xcodebuild">
			<arg value="-sdk"/>
			<arg value="iphonesimulator2.0"/>
			<arg value="-project"/>
			<arg value="./myProject.xcodeproj"/>
        </exec>


Any input is highly appreciated.
 
Try this

Try using this:

scan-build -k -V xcodebuild -configuration Debug -sdk iphonesimulator2.1

This worked for me
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.