cordova run device
cordova run ios --device
Here is what the above code is Doing:
1. We’re importing the Cordova class from the cordova module.
2. We’re creating a new Cordova object.
3. We’re calling the create method on the Cordova object.
4. We’re calling the build method on the Cordova object.
5. We’re calling the run method on the Cordova object.