1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    161
    Vote Rating
    0
    WagsMax is on a distinguished road

      0  

    Default Cannot get Mac to deploy to simulator in Architect

    Cannot get Mac to deploy to simulator in Architect


    I have successfully deployed to the iOS simulator using the sencha tools command line on the Mac (using the Vimeo as guidance) so I know fundamentally all the pieces are on my Mac to make this work. Now I want to deploy an Architect app, but no matter what I try I cannot get the app to deploy to the iOS sim from Architect. I get this message:

    [Error] The current working directory (/Users/mweigel) is not a recognized Sencha SDK or application folder

    I have fiddled with the settings for so long now in the Deploy > Simulate dialog box that I am dizzy and can't remember what I have tried or not. How is this so-called "working directory" mentioned in the error message even changed - I can't see any settings for that. I even tried double-clicking the .xds file from within the app directory in Finder to try to set the working directory and still the same message. Help!!!

    I can't be the only one who this is happening for?

    My Architect app is in /Users/mweigel/Documents/Project1
    and in the Deploy > Simulate dialog box:
    inputPath: /users/mweigel/documents/project1
    outputPath: ./build

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    25
    Vote Rating
    0
    sapkalparag is on a distinguished road

      0  

    Default


    Hi
    even i went through this just some days ago. But finally got the thing to work
    m telling u the things i have implemented. others plz correct if m wrong.
    1. go to settings first
    In the Project tab- URL Prefix is the path to your project in http form. Basically by using local servers like Apache. so it has to be in 'http://localhost:8080' format.
    Deploy path is the path to some folder other than your project folder where u COPY your code.(later ul come to know why).
    so deploy path in ur case can be /users/mweigel/Result/Project1/'
    In Application tab make sure u have path to the sencha tools is put

    2. go to deploy part next
    here make sure u have TRUE for both the options sdktools and iossimulator
    do COPY now. this will copy your project to the DEPLOY PATH you gave in ur settings

    3. Do SIMULATE now. This function basically fires 'sencha package run simulator.json' command in terminal.
    in ur simulator settings 2 things are important
    inputPath: this is the path to the folder where u have COPIED ur project. As we gave deploy path above..the inputPath can be /users/mweigel/Result/Project1/

    outputPath: this is a folder where you will get u project.app file generated. which u can use to install on a device.

    4. now when u save and simulate the ios simulator will open but with a blank white screen. This is basically because a bug in architect.
    Architect only makes app.html file. Whereas or deploying on simulator we need index.html
    According to Phil.Strong this bug will be removed in next edition of architect. The workaround now is that we can simply copy and paste the app.html in the same project folder and rename it as index.html
    again do deploy>copy and deploy>simulate>save&simulate
    it should open in ios simulator now.

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

      0  

    Default


    Aloha All -

    I am also experiencing the same issue. Tried the steps suggested by sapkalparag but did not resolve the issue. Another other suggestions would be appreciated. Thanks!

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    25
    Vote Rating
    0
    sapkalparag is on a distinguished road

      0  

    Default


    What is d problem that you are facing?

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

      0  

    Default


    Receiving this same error when deploying: "The current working directory (/Users/username) is not a recognized Sencha SDK or application folder". Thanks.

  6. #6
    Sencha User
    Join Date
    Apr 2012
    Posts
    25
    Vote Rating
    0
    sapkalparag is on a distinguished road

      0  

    Default


    Are you able to PREVIEW you app....in the browser that is??

  7. #7
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    mauidude is on a distinguished road

      0  

    Default


    Yes, it previews just fine in the browser. The issue is just bringing up the iOS simulator. Thanks for any additional recommendations.

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

      0  

    Default Same issues

    Same issues


    Same issues for me, any help would be appreciated.

  9. #9
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    161
    Vote Rating
    0
    WagsMax is on a distinguished road

      0  

    Default


    @sapkalparag I tried every step you mentioned, and it still comes up with the same error:
    [Error] The current working directory (/Users/mweigel) is not a recognized Sencha SDK or application folder
    btw, the app previews just nicely... just no simulatore

  10. #10
    Sencha User
    Join Date
    Apr 2012
    Posts
    25
    Vote Rating
    0
    sapkalparag is on a distinguished road

      0  

    Default


    are u hosting your project inside a web server?

    for example i am using apache tomcat and inside it i have my project folder.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."