iphone - iOS - Sencha Touch - 2 -
i confused between these 2 command.
sencha app build native [info] deploying application /path/to/www/mysenchaapp/build/package what command used for?
sencha package run packager.json what command used for?
actually able run app on simulator. not able run same app on device... not sure command need use install on device using itunes.
{ /** * @cfg {string} applicationname * @required * name of application, displayed on device when app installed. on ios, should match * name of application in apple provisioning portal. */ "applicationname":"mysenchaapp", /** * @cfg {string} applicationid * name namespace application. on ios, should match name of application in apple provisioning portal. */ "applicationid":"com.cc2go.keyboard", /** * @cfg {string} versionstring * @required * version of application. */ "versionstring":"1.0", /** * @cfg {string} iconname * file name of icon. should in same directory of configuration file. * * ios, please refer documentation icon sizes: * https://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/iconsimages/iconsimages.html * * android, please refer google launcher icons guide: * http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html */ "iconname":"resources/icons/icon~ipad.png", /** * @cfg {string} inputpath * @required * location of sencha touch 2 application, relative configuration file. */ "inputpath":"build/native", /** * @cfg {string} outputpath * @required * built application file saved. */ "outputpath":"output", /** * @cfg {string} configuration * @required * configuration application. `debug` should used unless submitting app online * store - in case `release` should specified. */ "configuration":"debug", /** * @cfg {string} platform * @required * platform running application. available options are: * - iossimulator * - ios * - android * - androidemulator */ "platform":"ios", /** * @cfg {string} devicetype * @required * device type application running on. * * if developing android, not necessary. * * available options are: * - iphone * - ipad * - universal */ "devicetype":"iphone", /** * @cfg {string} certificatepath * location of certificate. * required when developing android or developing on windows. */ "certificatepath":"/path/to/certificates.p12", "provisionprofile":"/path/to/cc2gokeyboard(3).mobileprovision", /** * @cfg {string} certificatealias * name of certificate. * * if not specify on osx, try , automatically find certificate using applicationid. * * can simple matcher. example, if certificate name "iphone developer: robert dougan (abcdefghij)", * can put "iphone developer". * * when using certificatepath on windows, not need specify this. */ "certificatealias":"iphone developer: first last (ewewnp4ayu)", /** * @cfg {string} sdkpath * path android sdk, if developing android application. */ "sdkpath":"/path/to/android-sdk", /** * @cfg androidapilevel * android api level, version of android sdk use, can read more here: http://developer.android.com/guide/appendix/api-levels.html. * sure install corresponding platform api in android sdk manager (android_sdk/tools/android) */ "androidapilevel":"15", /** * @cfg orientations * @required * orientations application can run. */ "orientations": [ "portrait", "landscapeleft", "landscaperight", "portraitupsidedown" ] } please let me know
Comments
Post a Comment