Have to do some more testing....the first 2 builds failed (based on a Sencha generate app). Then I just tried it again with this first:
sencha generate app MyApp /Applications/MAMP/htdocs/MyApp
and then cd-ing into the directory and running ....and the third time it works! Weird!
To get it working at all I did still have to enter this command first though in Terminal in order to issue the Sencha command in the first place:
I am on Sencha Touch 2.1 and Sencha Command 126.96.36.1998, With Mac OS X 10.8.2. I also uninstalled the SDK tools and reinstalled the Sencha Command.
I did also download and install the latest Sun Java, but not sure that had an effect as I had a failed build after installing that.