sudo npm install -g cordova - it will install cordova. Note that on my machine I have some warnings about the ios bootstrap process being skipped but all the following steps seem to work ok anyway...
In Finder open /Users/jerome/Apps/moodlemobile_android_cordova/platforms/ios/MoodleMobileBeta.xcodeproj. Test you can build the default Cordova app on your phone.
Check that all icons and all splash-screens are there.
Clean the app
rm -rf platforms/ios/www/img/splash
rm -rf platforms/ios/www/img/icon
Build and publish
Warnings
If you previously installed a different platform then you‘ll get an error when adding the cordova plugin. It‘s advised to install both platforms at the same time. Then add the cordova plugin(s), then copy the app content into www. Don‘t forget cordova.js and plugin js/files. Then you can manually install phonegap plugins.
The iOS version doesn‘t need WebIntent android plugin.
You must add the childbrowser cordova plugin just after adding the platform. In Cordova 2.5, if you add the plugin after installing the app content, it creates a folder named childbrowser.js, and the plugin doesn‘t work.