- With the simulator launched, lookup the simulator socket
lsof -aUc launchd_sim
- Look for a name that ends in
com.apple.webinspectord_sim.socket, copy that. - Spawn
ios_webkit_debug_proxypassing in that socket prefixed withunix:ios_webkit_debug_proxy -s unix:<socket from step 2>- It should output something like the below
$ios_webkit_debug_proxy -s unix:/private/tmp/com.apple.launchd.y7tX5zeZ81/com.apple.webinspectord_sim.socket
Listing devices on :9221