问题
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
回答1:
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.
回答2:
@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.
回答3:
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.
来源:https://stackoverflow.com/questions/13925590/quickest-way-to-install-release-build-on-device