Xcode 4.2 applescript - still broken?
I'd like to use AppleScript to automate some of my common build tasks. But it appears under Xcode 4.2, scripting is so badly broken as to be useless. I cannot even run a minimal script such as the following (with Xcode running and my project loaded):

    tell application "Xcode"
       build project of active project document
    end tell

This gives me the error "missing value". The scripting dictionary supplied is opaque to say the least. Nothing I have found on the Developer site helps, and searching for answers elsewhere indicates I am not the only frustrated one. Does Apple not want us to use AppleScript with Xcode 4? I'm using 4.2 as I don't want to upgrade from Snow Leopard to Lion yet.

Xcode 4.2 applescript - still broken?
===

I'd like to use AppleScript to automate some of my common build tasks. But it appears under Xcode 4.2, scripting is so badly broken as to be useless. I cannot even run a minimal script such as the following (with Xcode running and my project loaded):

    tell application "Xcode"
       build project of active project document
    end tell

This gives me the error "missing value". The scripting dictionary supplied is opaque to say the least. Nothing I have found on the Developer site helps, and searching for answers elsewhere indicates I am not the only frustrated one. Does Apple not want us to use AppleScript with Xcode 4? I'm using 4.2 as I don't want to upgrade from Snow Leopard to Lion yet.
