The following is a walk-through of how to package native iOS applications at the command-line for the purposes of controlling this process through a continuous integration server. This is what I used to take the Sencha Touch/Cordova apps and put them on the AppStore and private internal AppStores.

Link: http://www.appfoundation.com/2014/07...-command-line/