wilzdezign
27 Apr 2012, 8:28 AM
Finally had everything ready to go with the command line (http://docs.sencha.com/touch/2-0/guide/command) for packaging:
sencha app build testing/package/production/native (iOSSimulator)
After getting each of these builds working, even the native iOSSimulator, it is time to send it to the connected iPad. I jump into the packager.json and change only one setting "platform":"iOSSimulator" to "platform":"iOS", the rest the same even "configuration":"Debug"
I then run sencha app build native
but I get the following (after 2 pop-ups says "codesign wants to sign using key 'Me' in your keychain" and I click [ Allow ]):
$ sencha app build native
[INFO] Deploying your application to /Users/me/CODE/SenchaTouch/EvCCMobile/build/package
...
...
[INFO] Generated app.json
[INFO] Embedded microloader into index.html
[INFO] Packaging your application as a native app...
[INFO] The application was successfully packaged
The application was successfuly signed
Only iOS simulator is supported to run packaged apps
Failed to run packaged application
Does that "Failed" message mean anything?
I drag the app from the build/native/ folder into iTunes and it shows up on the "Sync Apps" screen (though the icon is generic, not one specified in config) and then click "Sync". iTunes goes to sync and looks done. View then the connected iPad and it says "iTunes Sync: 'EvCC Mobile' failed to install". Is this due to some type of mismatch of what Provisioning Profile / Cert / App ID I have setup on the iOS Dev Center?
sencha app build testing/package/production/native (iOSSimulator)
After getting each of these builds working, even the native iOSSimulator, it is time to send it to the connected iPad. I jump into the packager.json and change only one setting "platform":"iOSSimulator" to "platform":"iOS", the rest the same even "configuration":"Debug"
I then run sencha app build native
but I get the following (after 2 pop-ups says "codesign wants to sign using key 'Me' in your keychain" and I click [ Allow ]):
$ sencha app build native
[INFO] Deploying your application to /Users/me/CODE/SenchaTouch/EvCCMobile/build/package
...
...
[INFO] Generated app.json
[INFO] Embedded microloader into index.html
[INFO] Packaging your application as a native app...
[INFO] The application was successfully packaged
The application was successfuly signed
Only iOS simulator is supported to run packaged apps
Failed to run packaged application
Does that "Failed" message mean anything?
I drag the app from the build/native/ folder into iTunes and it shows up on the "Sync Apps" screen (though the icon is generic, not one specified in config) and then click "Sync". iTunes goes to sync and looks done. View then the connected iPad and it says "iTunes Sync: 'EvCC Mobile' failed to install". Is this due to some type of mismatch of what Provisioning Profile / Cert / App ID I have setup on the iOS Dev Center?