Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quickest way to install Release build on device?

What is the easiest/quickest way make Xcode install a Release build of my app onto a device? Right now I create an ipa and then manually install it. Can I create a new scheme to do it? Also, I would prefer that the app is just installed onto the device - without having to run it.

Thanks

like image 221
RobertJoseph Avatar asked Dec 18 '12 02:12

RobertJoseph


3 Answers

@atreat's answer might be a better idea in general, but I'm not at my Mac to test right now...

I just hit the Profile button/menu in Xcode. That builds the Release configuration by default, puts it on the device, and launches Instruments. Just quit or ignore Instruments and you're done.

like image 26
rickster Avatar answered Oct 20 '22 00:10

rickster


Also, I would prefer that the app is just installed onto the device - without having to run it.

Then build and run and hit Stop. Now it's installed.

like image 42
matt Avatar answered Oct 20 '22 01:10

matt


You should be able to go in to your Edit Schemes preference pane. You can change your Build Configuration to Release there. I would suggest creating a duplicate scheme in which you can build Release builds.

like image 175
atreat Avatar answered Oct 20 '22 01:10

atreat