Dirk Diggler
Dirk Diggler

Reputation: 865

iOS Simulator with iOS11 (Xcode 9) device missing from desktop Safari's Develop menu

I'm trying to debug simulated devices in Xcode's Simulator using desktop Safari's Web Inspector.

A simulated device (iPad Air 2) does not appear in Safari's Develop menu when its Simulator is running. (The Simulator menu item doesn't even appear at all.)

Is there any way to actually get this to work?

image showing all apps and versions

Upvotes: 6

Views: 3309

Answers (2)

MrDEV
MrDEV

Reputation: 3760

You may need to make sure that Xcode command line tools was installed and configured properly:

  1. If not installed, you can install it via Terminal by running this command xcode-select --install.
  2. Then verify installation by printing the version with this command xcode-select -version.
  3. Print Xcode path with this command xcode-select -print-path.
  4. If path is incorrect, switch to the correct one by this command sudo xcode-select -switch "your Xcode path, usually it is /Applications/Xcode.app/ ", provide your password if required by Terminal.

After above steps, quit simulator and Safari, then restart them. The simulator should appear in the Develop menu of Safari.

Worked on macOS Catalina 10.15.4, Xcode 11.4, and Safari 13.1.

Upvotes: 1

user3653754
user3653754

Reputation: 106

Sorry if this is a bit late, but for the new version of xcode you need safari technology preview (https://developer.apple.com/safari/technology-preview/), and use that instead of regular safari to debug xcode simulator

Upvotes: 9

Related Questions