I installed sencha touch and sencha touch command and was able to view the examples in localhost. But How do I run these examples in iOS simulator?
I tried below commands from with in the examples directory on iMac
from directory: touch-2.3.1/examples/kitchensink
sencha app package run packager.json
User-iMac:list-horizontal yuyutsu$ sencha app package run packager.json Sencha Cmd v4.0.4.84 [ERR] [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1
"The application that opened iOS Simulator failed to send all of the required information
(sessionUUID, sdkRoot, deviceInfo)." UserInfo=0x7fe4f0d0ce40 {NSLocalizedDescription=The application
that opened iOS Simulator failed to send all of the required information (sessionUUID, sdkRoot,
deviceInfo)., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1} The application was successfully packaged [ERR] stbuild exited with non-zero code : 1
or from another app, directory: touch-2.3.1/examples/list-horizontal
Also tried running sencha app build -run native
.
It failed with
/Users/yuyutsu/work/Software/mobile/Sencha/touch-2.3.1/examples/kitchensink/.sencha/app/packager-impl.xml:83: /Users/yuyutsu/work/Software/mobile/Sencha/touch-2.3.1/examples/kitchensink/resources/loading does not exist
I have Xcode 5. OS X version 10.9.2. I am able to run the native XCode projects in simulator using XCode. Any idea on how can I run the sencha examples in iOS simulator? Is there a document which has the steps?
sencha app package run packager.json
. I did not use any other tool yet. – suman jsudo sencha app build native
and then run the XCode project. – Zistoloen