@sapkalparag: I am not sure what you mean by "Hosting project inside a web server". My setup is: the project is in my /users/user/documents tree (which is not a web directory), but I am deploying to the web server (which is not Apache, but the default Mac one).
Thank you very much!!! You procedure worked for me regarding the simulator. Does the same thing have to be done for packaging (i.e. copy the app.html to index.html and then re-run the packager)?
@WagsMax: Even i am kind of new to everything. N i tried alot but couldn't get myself to get the problem which u guys are facing.
install apache tomcat
start the server
store ur project inside the /root directory inside the apache tomcat folder.
give all ur links in the settings in architect as http://localhost:8080/path/toyour/project
js to highlight: "http://localhost:8080/ " actually points to the root folder in apache folder.
try n post wat happns......
Having the same issue trying to run in iOS simulator. Help!
Having the same issue trying to run in iOS simulator. Help!
I followed the suggestions earlier in the thread but continue to get the following:
cd /Users/glenn_graham/Sites/citybars/
sencha package run simulator.json
[ERROR] The current working directory (/Users/glenn_graham/Sites/citybars) is not a recognized Sencha SDK or application folder
The application was successfully packaged
[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 UserInfo=0x100615680 "Simulator session timed out."
logout
I've not tried to deploy direct to the simulator, but work around it a different way.
Firstly, you have to be running a local host webserver. I use a mac, and I think mac even has its own webserver that can be turned on in the machine's properties - but I prefer to use XAMPP. Either way you end up with an htdocs folder which is your local webserver root - accessed via http://localhost
As long as you can preview your app in the browser, you're set.
Then run the iOS simulator. Just put iOS into the mac spotlight search to find it (for mac).
Launch the mobile browser in the simulator. Type in the localhost URL where your app.html file is located, then when the page runs, add it to your simulator home screen. Now, every time you save and preview your app in the desktop browser, you can run the app icon in the sim and check your app full screen.