Xcode: build and run for both iOS Simulator and Device in one step?

柔情痞子 提交于 2019-11-29 23:34:15

问题


I need to get into the practice of better testing for both iOS 5 and 6.

I'd like to press one button (or one keyboard shortcut) and have Xcode build and run my app on both the iOS simulator and my iPhone device at once.

Is this possible?


回答1:


I don't think you can do it by GUI of Xcode. You probably need to launch the application from the command line. Which means create a script by any language you know (shell, python, ruby, etc...)

Here is some information: check the link1, and link2, and link3 .

Hope that's helpful.



来源:https://stackoverflow.com/questions/14509808/xcode-build-and-run-for-both-ios-simulator-and-device-in-one-step

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