TechBuzzPro

Safari iPhone Simulator Debugging: Develop Menu Missing

· 5 min read · Phones & Tablets

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, the Develop menu can disappear from Safari when the iPhone simulator is running, and you can bring it back by confirming a few settings and restarting the relevant apps.

What You'll Need

  • Mac running macOS (any recent version that supports Safari and Xcode)
  • Xcode installed from the Mac App Store
  • iOS Simulator launched from Xcode
  • Safari on the Mac
  • Basic familiarity with macOS menus and preferences

Step-by-Step

  1. Open Xcode, then choose Open Developer Tool > Simulator from the Xcode menu. The iOS Simulator window should appear.
  2. In the Simulator, launch Safari (the iOS version). Navigate to Settings > Safari > Advanced and toggle Web Inspector on. This setting allows the Mac to inspect the simulated Safari instance.
  3. Switch back to the Mac's Safari. Open Safari > Preferences > Advanced and ensure the box for Show Develop menu in menu bar is checked. If the box is unchecked, the Develop menu will not appear at all.
  4. With the Develop menu visible, go to Develop > Allow Remote Automation and make sure it is enabled. This permission lets Safari on the Mac communicate with the simulator.
  5. Now, keep the iOS Simulator running and return to the Mac's Safari. In the Develop menu, you should see a sub‑menu named after the simulator device (for example, iPhone 14 – Safari). Click it to open the Web Inspector for the simulated page.
  6. If the device name does not appear, quit Safari, quit the Simulator, and then restart both applications. Sometimes a fresh launch forces the discovery process to run again.
  7. Should the menu still be missing, verify that the macOS and Xcode versions are compatible. Apple occasionally removes support for older simulator runtimes; using the latest Xcode ensures the simulator is recognized.
  8. As a final check, open System Settings > Privacy & Security > Full Disk Access and add Safari and Xcode if they are not already listed. Full Disk Access can be required for certain debugging connections on newer macOS releases.
  9. After completing the steps above, the Develop menu will list the iPhone simulator, and you can inspect elements, view console output, and debug network requests just as you would on a physical device.

Common Mistakes

Many users overlook small but critical settings. The most frequent errors include:

  • Forgetting to enable Web Inspector inside the iOS Simulator’s Settings. Without this toggle, the Mac cannot see the simulated Safari instance.
  • Leaving the Develop > Allow Remote Automation option unchecked. This permission is separate from the visible Develop menu and is required for any remote debugging.
  • Running an outdated simulator runtime. Xcode may drop support for older iOS versions, causing the device not to appear in the menu.
  • Having multiple Safari windows open with different user profiles. Occasionally a hidden window can interfere with the menu refresh.
  • Not restarting both Safari and the Simulator after changing a setting. The discovery process only runs on launch, so a simple restart often resolves the issue.

Tips

  • Keep Xcode updated. New releases include the latest simulator binaries and often fix hidden compatibility bugs.
  • Use the Reset Content and Settings option in the Simulator (Simulator > Device > Erase All Content and Settings) if you suspect corrupted simulator data.
  • When debugging multiple pages, open each page in its own tab on the simulated Safari. The Web Inspector will show a list of open tabs under the device name.
  • If you need to inspect a specific app’s WebView, launch the app in the simulator, then select the app’s WebView from the same Develop submenu.
  • Enable Show Develop menu in menu bar permanently; it costs no performance and saves time when you switch between debugging sessions.

Troubleshooting

If the steps above do not bring the iPhone simulator back into the Develop menu, follow this escalation path:

  1. Restart the Mac. A full reboot clears any lingering background services that may block the connection.
  2. Check for macOS updates. Occasionally a system update restores missing developer frameworks.
  3. Delete Safari preferences. Quit Safari, then remove ~/Library/Preferences/com.apple.Safari.plist. Relaunch Safari and re‑enable the Develop menu.
  4. Reinstall Xcode. Drag the Xcode app to the Trash, empty it, and download a fresh copy from the App Store.
  5. Clear derived data. Open ~/Library/Developer/Xcode/DerivedData and delete its contents. This forces Xcode to rebuild its index and can resolve obscure simulator detection issues.
  6. Verify console logs. Open Console.app, filter for "WebKit" and "Simulator". Look for error messages that indicate permission problems.
  7. Contact Apple Support. If none of the above works, there may be a bug in the current macOS/Xcode combination. Provide the log excerpts you collected.

Frequently Asked Questions

Why does the Develop menu disappear after a macOS update?

System updates can reset Safari preferences, including the Advanced setting that shows the Develop menu. Re‑enable it in Safari > Preferences > Advanced.

Can I debug a physical iPhone and the simulator at the same time?

Yes. Both appear as separate entries under the Develop menu when their respective Web Inspectors are enabled.

Do I need a paid Apple Developer account to use the simulator for debugging?

No. The iOS Simulator is included with the free Xcode download and works without a paid developer program.

What if the simulator shows up but no tabs are listed?

Make sure the simulated Safari has at least one page open and that Web Inspector is turned on in Settings > Safari > Advanced.

Is there a keyboard shortcut to open the Web Inspector for the simulator?

Press ⌥⌘I (Option‑Command‑I) while the simulated Safari window is active, after the Develop menu is correctly populated.

Will clearing Safari’s cache affect debugging?

Clearing the cache can remove stored resources, which may be useful for testing fresh loads, but it does not impact the ability to connect to the simulator.