iphone - Unable to install app on my device - iOS -
i have created sencha sample app uisng follwing command in terminal
mac-mini-2:sencha-touch-2.0.0-commercial eit$ sencha app create mysenchaapp /path/to/www/mysenchaapp then build application native on simulator, worked fine on simulator.using below command
mac-mini-2:mysenchaapp eit$ sencha app build native now trying adhoc distribution - install app on device. mentioned in following link , have did steps.
this packager.jason file
{ /** * @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.mydomain.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":"build/", /** * @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", "provisionprofile":"build/package/cc2gokeyboard(3).mobileprovision", /** * @cfg {string} certificatepath * location of certificate. * required when developing android or developing on windows. */ "certificatepath":"build/package/ios_distribution.cer", /** * @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":"", /** * @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" ] } i have modified packager.json file above. , run command mac-mini-2:mysenchaapp eit$ sencha app build native
now has generated mysenchaapp.app in build /native folder.
when tried install app on device using itunes sync , got installed says unable install app "mysenchaapp".
i not sure problem here, packager.json file correct?
pls me out.
check provision file. registered bundle in provision ?
usually error occuring when provision wrong, or date expired.
Comments
Post a Comment