0

I've created a simple sencha touch app to test on my iOS simulator, and when I run it I get a black screen on my simulator. Here are the steps I took:

  1. npm install -g cordova
  2. sencha -sdk /path/to/SenchaTouch generate app MyApp /path/to/MyApp
  3. obtained a certificate, identify devices, and got an AppID.
  4. sencha cordova init com.example.TestApp TestApp
  5. Edited app.json and added: "platforms": "ios”,
  6. sencha app build -run native

When I run sencha App build -run native I get the iOS simulator to come up and display nothing but a black screen and the safari app. However when I run the sencha cmd server and go to http://localhost:80/ to test my app it runs fine.

What am I doing wrong? Thank you.

now_world
  • 940
  • 7
  • 21
  • 56
  • Try to debug it using remote debugging: http://stackoverflow.com/questions/8839743/debugging-web-app-in-ipad-simulator Do you see any errors? – Baidaly Mar 18 '15 at 16:36
  • No I didn't get any errors, but eventuality found out how to run it on my actual device using xCode and now everything works. Thanks – now_world Mar 19 '15 at 16:43

1 Answers1

0

Fixed, I eventually found out how to run it on my device using the xcode project that cordova built for me in its iOS folder.

Note: if I use xcode to run it on my emulator it also works now too, just didn't when I tried to run it with sencha app run native

now_world
  • 940
  • 7
  • 21
  • 56