iostestingcordovadevice

Test a PhoneGap application on a real device


I built an application using Phonegap and I tested it on the iPhone Simulator. Now I want to "send" it to the iPad, can somebody explain me how to handle that ?

Of course I've got an apple id and all other requirements. I made the "provisioning profile" for the iPad, but I don't understand how I can run it on the device. If somebody can explain me or redirect me to a good tutorial for this kind of "testing development".


Solution

  • If you have an Apple ID and the ipad is properly provisioned, then you simply need to change where you are building to in xcode. Click on the button next to the "run" and "stop" buttons in xcode. The button will be the name of your project followed by "nameOfProject>iPad 4.3 Simulator" or something similar. Change this to be "iOS device name of ipad", the ipad you have plugged into the computer. Now rebuild and run.