Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 keyboard shortcut to switch build target destination

Tags:

Is there a keyboard shortcut in Xcode 4 to switch the build target destination; that is, to switch from simulator to device and vice versa?

like image 529
Christian Schlensker Avatar asked Jul 12 '11 22:07

Christian Schlensker


People also ask

How do I change the shortcut in Xcode?

If you want to change your MAC Shortcut Key then you can Change it from Goto System Preference -> Keyboard -> Modify Keys then update your shortcut key according to your preference.

How do I run a shortcut in Xcode?

Basic Shortcuts Run: ⌘ + R. Test: ⌘ + U. Stop: ⌘ + . Clean: ⌘ + ⇧ + K.


2 Answers

There is, is called Destination>select next destination. Go in the prefs in xcode and then in the key bindings tab, search for that, it will show what key it is set at.

For me, is cmd+alt+ctrl+] and [ to switch. Is quite useful, saves a few seconds.

like image 136
mskw Avatar answered Oct 15 '22 22:10

mskw


In Xcode 4.6, the shortcut is ctrl+option+cmd+[ and ctrl+option+cmd+]

like image 31
Philip007 Avatar answered Oct 15 '22 22:10

Philip007