Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy to iPhone without running

How do I deploy my app down to the iPhone (for testing purposes) from XCode without actually running the app?

like image 901
Jason Marcell Avatar asked Jan 26 '12 01:01

Jason Marcell


People also ask

Can you install your own apps on iPhone?

You can also install custom apps from a secure website that your organization operates. If you don't install apps from your organization, download and install apps only from the Apple App Store. This is the best way to protect your iPhone, iPad, or iPod touch.


1 Answers

Edit your launch Scheme, open the section titled "Run myApp.app" and toggle ON the option to "Wait for myApp.app to launch".

It will then just install, and not run the app. If you do run it yourself, the debugger should attach. This is useful for when you want to test how your applications works when launched via a URL, amongst other things.

NOTE - To be fair, this answer is the same as the one for this question. I didn't mark this question as a duplicate though, because you might have a different reason for wanting to do this. Still, if you want a more detailed explanation, look there.

like image 58
DougW Avatar answered Oct 08 '22 10:10

DougW