Quickest way to install Release build on device?

不羁岁月 提交于 2019-12-11 00:46:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!