xcodebuild Warning

Discussion in 'iOS Programming' started by sujithkrishnan, Jul 2, 2009.

  1. sujithkrishnan macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #1
    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.
     
  2. kdbdallas macrumors newbie

    Joined:
    Apr 9, 2007
    #2
    Try this

    Try using this:

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

    This worked for me
     
  3. Compile 'em all macrumors 601

    Compile 'em all

    Joined:
    Apr 6, 2005
    #3
    Just a heads up, I had the same problem like the OP and this worked for me.
     

Share This Page