1. #1
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Nashville, TN
    Posts
    37
    Vote Rating
    2
    balogb is on a distinguished road

      0  

    Default Beta 2 on OSX not a recognized SDK or app folder

    Beta 2 on OSX not a recognized SDK or app folder


    I'm having issues with the SDK on OSX 10.7.3. I uninstalled the beta 1 version, but was still having issues. I then noticed the .bash_profile did not remove the path to beta 1. After removing that and verifying the path and system variable are in the .bash_profile to the correct beta 2 path. When inside the SDK beta 2 folder, 'sencha' returns:

    [WARN] The current working directory (/Applications/SenchaSDKTools-2.0.0-beta2) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.


    Sencha Command v2.0.0 Beta
    Copyright (c) 2012 Sencha Inc.

    I have un-installed and re-installed, restarted the mac, etc. with no success. Any ideas? Are there files outside the Application folder that I may still need to clear out from beta 1?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,642
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I uninstalled beta 1 to install beta 2 on Lion without any issue. I use Sencha Command from the Sencha Touch 2 directory.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    3
    Vote Rating
    0
    cprice01 is on a distinguished road

      0  

    Default [WARN] The current working directory (/Projects/SenchaTouch2) is not recognised

    [WARN] The current working directory (/Projects/SenchaTouch2) is not recognised


    Hi there. I am having the same issue on OSX 10.6.8. Did anyone find a resolution? Thanks.

  4. #4
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Nashville, TN
    Posts
    37
    Vote Rating
    2
    balogb is on a distinguished road

      0  

    Default


    Still no word. Still an issue. I wonder if this is due to the recent java patches?

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    3
    Vote Rating
    0
    cprice01 is on a distinguished road

      0  

    Default Still not working

    Still not working


    Not sure. I have tried everything but can't get it to work. We had high hopes here, but after two weeks of trying to get this product to work my organization wants to move on and try something more robust ... Probably go back to the faithful Adobe suite

  6. #6
    Sencha User
    Join Date
    Jan 2012
    Posts
    6
    Vote Rating
    2
    tuttoilmondo is on a distinguished road

      0  

    Default SOLVED on MAC

    SOLVED on MAC


    I solved this problem on my mac like this:
    Identify the folder of the SDK. In my mac is \Developer\SDKs
    Download the free Sencha Touch 2 SDK and SDK Tools from the Sencha website.
    Start the installation of SDK Tools and when the installation asks for the install path, choose \Developer\SDKs .
    Extract the Sencha Touch 2 SDK zip file in the folder \Developer\SDKs
    Open a line commad and go to the path \Developer\SDKs
    Try now the command "sencha" or "sencha generate app GS ../GS"

    So the important things are two

    Install sdk tools and Sencha Touch 2 SDK in the path \Developer\SDKs
    Execute the command only from path \Developer\SDKs
    In my mac works good.

    Paolo

  7. #7
    Sencha User
    Join Date
    Mar 2012
    Location
    London
    Posts
    3
    Vote Rating
    0
    vitkon is on a distinguished road

      0  

    Default SOLVED ON OSX 10.7.4

    SOLVED ON OSX 10.7.4


    Hi there,
    I had the same problem with my MacBook Pro running Lion OSX 10.7.4 -- SDK wasn't recognised from any folder.

    The fix was quite funny though:

    I added file .senchasdk to the Sencha folder. The content of the file is one dot (".")
    in the terminal it can be something like this:

    sudo nano /path/to/sencha/.senchasdk

    so, in a nutshell, the installation is as following :
    1. Install Sencha Tools and Sencha Touch 2 SDK in the same folder (e.g. /Users/username/Developer/SDKs

    2. add missing .senchasdk to /Users/username/Developer/SDKs

    3. try to type sencha now (staying in /Users/username/Developer/SDKs folder)

    I also configured OSX Lion's Finder to show hidden files, like so (in the terminal):

    defaults write com.apple.Finder AppleShowAllFiles YES

    Enjoy!

  8. #8
    Sencha User
    Join Date
    Jun 2012
    Posts
    3
    Vote Rating
    0
    denny2trasy is on a distinguished road

      0  

    Default no way , not work here

    no way , not work here


    not work here,
    sdks ./sencha
    [WARN] The current working directory (/Users/denny/git/sdks) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.

    Sencha Command v2.0.0 Beta 3
    Copyright (c) 2012 Sencha Inc.

    usage: sencha COMMAND [ARGS]

    The available commands are:
    build build a JSB project
    create bootstrapdata generate boostrap data
    create jsb generate a minimal JSB project for an app
    create locale generate a template locale file from source
    create manifest generate classes manifest
    package package your Touch web app into a native bundle
    slice theme slice a custom theme's images for IE

    See 'sencha help COMMAND' for more information on a specific command.
    ➜ sdks ./sencha generate
    [ERROR] The current working directory (/Users/denny/git/sdks) is not a recognized Sencha SDK or application folder
    get error message

  9. #9
    Sencha User
    Join Date
    Mar 2012
    Location
    London
    Posts
    3
    Vote Rating
    0
    vitkon is on a distinguished road

      0  

    Default


    @denny2trasy
    did you create
    .senchasdk file inside?

  10. #10
    Sencha User
    Join Date
    Jun 2012
    Posts
    3
    Vote Rating
    0
    denny2trasy is on a distinguished road

      0  

    Default add . .senchasdk

    add . .senchasdk


    yes, I add this file, but what is content, here is blank.