I am trying to get Xcode to build and run my project using Applescript. This is the same question as How to build & run Xcode with Applescript?, but I think that answer may be out of date, since it doesn't work on my machine. I get this:
execution error: Xcode got an error: The specified object is a property, not an element. (-10008)
I've also tried the following:
tell application "Xcode"
build project "MyProject"
end tell
but it doesn't build, it just returns "missing value".
(Using Xcode 4.0.1, OS X 10.6.8)
I've been having a huge amount of trouble trying to use Applescript with Xcode; I can't find any actual documentation (except the Xcode dictionary, which is very terse), just examples that don't seem to work. Any help would be appreciated.