通过iOS\u webkit\u proxy\u debug使用开发者工具的iOS模拟器

通过iOS\u webkit\u proxy\u debug使用开发者工具的iOS模拟器,ios,google-chrome,debugging,terminal,homebrew,Ios,Google Chrome,Debugging,Terminal,Homebrew,我正在尝试使用ios_webkit_proxy_debug将Chrome开发工具与ios模拟器结合使用。我是OSX小牛队的。我使用brew安装ios webkit代理调试。如果我键入brew list,则存在代理工作所需的三个项目libplist、libimobiledevice和usbmuxd。这三个版本都升级到了最新版本 我将其放入终端以运行模拟器: SIM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimu

我正在尝试使用ios_webkit_proxy_debug将Chrome开发工具与ios模拟器结合使用。我是OSX小牛队的。我使用brew安装ios webkit代理调试。如果我键入brew list,则存在代理工作所需的三个项目libplist、libimobiledevice和usbmuxd。这三个版本都升级到了最新版本

我将其放入终端以运行模拟器:

SIM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer
"$SIM_DIR/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator" \
-SimulateApplication \
$SIM_DIR/SDKs/iPhoneSimulator6.1.sdk/Applications/MobileSafari.app/MobileSafari
然后我键入ios\u webkit\u proxy\u debugh来运行代理。终端中的一切正常-没有错误。当我转到localhost:9221时,我收到一个错误,说Chrome无法连接

以下是我的浏览器、终端和ios模拟器的图像:

有人有什么建议或者知道发生了什么吗