-
Make sure you have run this at least once in a created project to get the cordova-ios library:
cordova platform add ios
-
Run these commands to back up and patch the existing run script:
cp -f ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run.orig curl https://raw.github.com/csantanapr/cordova-ios/fb5428d01b1469a783959ac5b251cf27d340102a/bin/templates/scripts/cordova/run > ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run
Now, when you create a new project, it will contain the updated script. If you want to just replace the existing script in an already created project, just replace the platforms/ios/cordova/run file with the ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run file.