Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 others stuff... I made the "provisioning profile" for the iPad, but I don't understood 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". Thanks in advance.

like image 945
Santana6.35 Avatar asked Oct 19 '11 08:10

Santana6.35


2 Answers

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.

like image 75
hatunike Avatar answered Oct 18 '22 16:10

hatunike


A way to distribute application without asking user to copy provisioning profile and application file to iTunes and then sync iPhone with it. Now, only thing that they need to do is to click on the link in e-mail, which will open website on device and there they can click to install application and profile on the iPhone.

http://blog.amarkulo.com/ad-hoc-profiles-and-application-distribution-via-web

Other reference :

http://support.twixlmedia.com/kb/epublisher-builder-application/how-do-i-create-the-distribution-provisioning-profile-for-my-ad-hoc-build

like image 29
Vinayak Bevinakatti Avatar answered Oct 18 '22 16:10

Vinayak Bevinakatti