// Removes old simulators, which xcode no longer uses $ xcrun simctl delete unavailable // xcrun allows you to invoke developer tools from the terminal. // In this case simctl, which is a command line utility to control the iOS Simulator. // simctl has the subcommand: openurl to open URLs in a given simulator // most of the cases you would like to open on the current booted device, so you add // the flag booted or type the simulator id. $ xcrun simctl openurl booted "http://google.com" // Print the UUID of the device in your simulator $ xcrun simctl list | egrep '(Booted)'