Skip to content

Instantly share code, notes, and snippets.

@patrickocoffeyo
Last active December 17, 2015 04:08
Show Gist options
  • Save patrickocoffeyo/5547881 to your computer and use it in GitHub Desktop.
Save patrickocoffeyo/5547881 to your computer and use it in GitHub Desktop.
Adds the iOS Simulator to the dock. Xcode removes it on every update. Seriously Apple what the heck!
defaults write com.apple.dock persistent-apps -array-add "<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>"
killall Dock
@retlehs
Copy link

retlehs commented May 9, 2013

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment