iOS Simulator debugging
How to debug Safari and WebViews running within the iOS Simulator with Inspect
Inspect can connect to your your iOS Simulator running locally on your Mac, so you can debug and inspect Safari and other targets without connecting a physical device.
How to enable iOS Simulator debugging
-
Install XCode and install the iOS Simulator. See https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
-
Install the XCode Commandline Tools. See https://mac.install.guide/commandlinetools/
-
Make sure
xcrun simctl
is installed and available in your$PATH
. You can validate this by running
xcrun simctl help
-
Open Inspect.
-
Your iOS Simulator and its debuggable targets should now show up.
-
Happy Inspecting! 🎉
iOS Simulator FAQ
Inspect can’t find my iOS Simulator on MacOS, what do to?
Inspect uses the simctl
utility provided by Xcode to detect and interact with iOS simulators. Follow these guides to make sure simctl
works correctly:
Was this page helpful?