Is there a quick way to create and install on an iPhone (from Xcode) without launching the application?

In Xcode, I can use CMD-R to run (or CMD-Y for debugging), and my application will compile, install on the phone and run. (I already prepared my phone and Xcode to make this part work as expected.)

What I would do LIKE is to enter CMD- <something else> and my program will compile and install on the phone, but will NOT start.

I understand that I can just create CMD-B and then go through some kind of rigamarole for deployment, but I hope one of you smart people can tell me a lazy shortcut for all this.

Thanks!

+5
source share
4

, , , iPhone , //:

script, xcodebuild . , - , Debug, release. script Xcode, . xcodebuild debug, - :

xcodebuild install -configuration Debug

, xcodebuild:

xcodebuild install -target iPhoneApp -configuration Debug

, , xcodebuild, script (, AppleScript, python, ruby ​​ ..).

+4

.

XCode Organizer. . . "+" .. , ( /​​build/[debug | release] -iphoneos/.app

.

+1

Automator? , XCode , .

0

To build (the exact flags documented in the "man xcodebuild" section, install the xcode command-line tools):

xcodebuild build -sdk iphoneos6.0 workspace / project, targets, configs and / or scheme flags

To install ( grab github here , just execute and run):

 path / to / fruitstrap --id device-uuid-to-install-on -bundle path / to / ios.app
0
source

All Articles