I have run "SenchaSDKTools-2.0.0-beta3-osx" and downloaded the SDK folders "sencha-touch-2.1.0-gpl"
I have a folder in my root folder named "sencha" which contains the tools app and the sdk folder.
I cd into the folder in terminal and run the "sencha" command and I get this error.
"[WARN] The current working directory (/Applications/MAMP/htdocs/sencha/sencha-touch-210) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode."
Can someone help with this? I can't find any real info that I can comprehend. This is so frustrating.
Thanks Mitchell, the Getting Started Guide should be updated to reflect this. I was completely led astray by the documentation, not good.
I tried installing it and it seems to want to install the files in Users/jaymorgan/bin , that doesn't seem right. Does it need to go into the usr/bin directory?
I'm left in the same spot as jaymorgan - it's asking if I want to install in Users/lorkel/bin, but I'm using MAMP on a Mac so I thought it would go in Applications/MAMP/htdocs.
At this point in terminal I can run:
sencha generate app GS ../GS (note: Getting Started still lists the command as sencha app create MyApp ../MyApp which appears to be depreciated)
And it seems to run until it hits a "Unable to locate 'framework.dir' property from sencha.cfg // Please ensure this command was executed from a valid framework"
Am I using the wrong SDK in combination with the cmd? Please point me in the right direction - and update the documentation!
You need to make sure you execute the generate app command from the touch-2.1.1 directory you downloaded. You need sencha cmd 3+ for 2.1.1 and sencha cmd 3.1+ for 2.2. Note sencha cmd != sencha sdk tools. Those are the two most common gotchas!
I agree the getting started docs could do with an update for sure. Scares me to think how many potential developers for sencha touch might have been scared away by these issues.
The link you posted sounds correct too, although it doesn't include needing a Java Run-Time Environment or Compass, which the documentation cites as requirements for Cmd to run. Even with the step by step instructions there was still a missing piece, restarting Terminal after installing Cmd so the "sencha" command will run. Super frustrating!