-- Can’t make file "Macintosh HD:Developer:Library:Frameworks:SenTestingKit.framework" into type file reference. (-1700)
tell application "Xcode"
add (POSIX file "/Developer/Library/Frameworks/SenTestingKit.framework" as item reference) to group "External Frameworks and Libraries" of front project
end tell
Do I need to add this framework via a "make" type of command? Or do I have to add it to a different reciever object?
I noticed through trial and error (mostly "properties of" debugging and SD's uber helpful tell context info panes) that the
inner dealings in project files are largely done with some kind of references (item or file references) and there's also classes to back that up.
By searching through the mailing list I discovered that the file reference type was considered weird in 2005 already – is it still that way?
The dictionary (as always) is also quite slim on this.
I am using Xcode 3.1.3, Mac OS X 10.5.7 and Script Debugger 4.5 btw.
Thanks for reading, folks!
Cheers,
André