ios-webkit-debug-proxy
6,209
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
C
语言
创建时间
最近更新
项目能做什么
适用于 iOS 设备的 DevTools 代理(Chrome 远程调试协议),支持 Safari 远程 Web 检查器。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# iOS WebKit Debug Proxy The ios_webkit_debug_proxy (aka _iwdp_) proxies requests from usbmuxd daemon over a websocket connection, allowing developers to send commands to MobileSafari and UIWebViews on real and simulated iOS devices. ## Installation iOS WebKit Debug Proxy works on Linux, MacOS & Windows. ### MacOS It's easiest to install with [homebrew](http://brew.sh/): ```console brew install ios-webkit-debug-proxy ``` ### Windows It's easiest to install with [scoop](http://scoop.sh/): ``` scoop bucket add extras scoop install ios-webkit-debug-proxy ``` Note: you also need the latest version of [iTunes](https://www.apple.com/il/itunes/download/) installed. ### Linux Install dependencies available in apt repository: ```console sudo apt-get install autoconf automake libusb-dev libusb-1.0-0-dev libplist-dev libtool libssl-dev ``` Build and install dependencies that require more recent versions: - [libplist](https://github.com/libimobiledevice/libplist) - [libimobiledevice-glue](https://github.com/libimobiledevice/libimobiledevice-glue) - [libusbmuxd](https://github.com/libimobiledevice/libusbmuxd) - [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice) - [usbmuxd](https://github.com/libimobiledevice/usbmuxd) #### Fedora specific Install dependencies: ```console sudo dnf install autoconf automake libusb1-devel libusb-compat-0.1-devel libtool openssl-devel ``` If you do not want to build and install the most recent versions of the noted libs: ```console sudo dnf install libplist-devel usbmuxd libimobiledevice-devel libimobiledevice-utils libimobiledevice-glue-devel ``` Build and install `ios-webkit-debug-proxy`: ```console git clone https://github.com/google/ios-webkit-debug-proxy.git cd ios-webkit-debug-proxy ./autogen.sh make sudo make install ``` ## Usage On Linux, you must run the `usbmuxd` daemon. The above install adds a /lib/udev rule to start the daemon whenever a device is attached. To verify that usbmuxd can list your attached device(s), ensure that `libimobiledevice-utils` is installed and then run `idevice_id -l`. ### Start the simulator or device The iOS Simulator is supported, but it must be started **before** the proxy. The simulator can be started in XCode, standalone, or via the command line: ```sh # Xcode changes these paths frequently, so doublecheck them SDK_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs" SIM_APP="/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator" $SIM_APP -SimulateApplication $SDK_DIR/iPhoneSimulator8.4.sdk/Applications/MobileSafari.app/MobileSafari ``` #### Enable the inspector Your attached iOS devices must have ≥1 open browser tabs and the inspector enabled via: `Settings > Safari > Advanced > Web Inspector = ON` ### Start the proxy ```console ios_webkit_debug_proxy ``` * `--debug` for verbose output. * `--frontend` to specify a frontend * `--help` for more op阅读完整原文
商业机会分析 AI 生成
跨平台开箱即用 iOS Web 调试桌面客户端
| 产品构想 | 基于 iwdp 与 libimobiledevice 封装跨平台桌面 GUI(Windows/Linux/macOS),内置驱动安装包与协议转换层,让非 Mac 开发者一键使用 Chrome DevTools 调试 iOS Safari。 |
| 核心功能 | USB 设备免驱即插即用识别、集成 WebKit 到 CDP 协议翻译、内嵌 DevTools 调试窗口、多设备多标签页切换管理。 |
| 目标用户 | 在 Windows/Linux 上开发移动端 H5 或混合应用的工程师(推测)。 |
| 难度/周期 | 高 · 3-6个月 · 成本:各平台测试真机购置、Windows 驱动签名证书、持续跟进 iOS 新版本协议变动的研发成本。 |
| 收费模式 | 按个人订阅或买断制销售(如 29-99 美元/年),提供免费试用版限制调试时长。 |
| 竞争风险 | Apple 频繁调整 WebKit Inspector 协议及底层 usbmuxd 握手逻辑,维护协议兼容成本极高(已验证事实说明协议差异大)。 |
| 依据 | 已验证事实 |
企业级 CI/CD 移动端 Linux 自动化测试农场中间件
| 产品构想 | 提供标准化的 Docker 镜像与 Agent 方案,使企业在 Linux 服务器集群上批量挂载真实 iPhone,通过标准 Chrome DevTools 协议实现自动化巡检与前端性能监控。 |
| 核心功能 | 多设备 USB Hub 端口热插拔容错、WebSocket 转发集群管理、自动化会话恢复、页面性能指标自动化采集接口。 |
| 目标用户 | 中大型互联网公司 QA 团队、自动化测试平台架构师、跨端测试云服务商(推测)。 |
| 难度/周期 | 高 · 4-6个月 · 成本:企业级硬件兼容测试成本、高并发长连接稳定性调优成本。 |
| 收费模式 | 企业私有化部署授权费、年费技术支持及协议维护维保合约。 |
| 竞争风险 | iOS 系统的安全机制(如信任弹窗、配对失效)可能导致无人值守机房自动化中断(AI推测)。 |
| 依据 | 尚需验证的假设 |
Puppeteer/Playwright 直连真实 iOS Safari 的协议网关
| 产品构想 | 开发针对性协议适配网关服务,将现代前端自动化工具(Puppeteer/Playwright)的 CDP 指令无损映射至 WebKit Inspector Protocol,让开发者免用 Appium 即可进行真机快速端到端测试。 |
| 核心功能 | CDP 与 WebKit 调试协议双向翻译、网络请求拦截模拟、DOM 节点树与截图能力同步、自动化脚本执行桥接。 |
| 目标用户 | 使用 Playwright/Puppeteer 进行移动端兼容性回归测试的前端与测试团队(推测)。 |
| 难度/周期 | 极高 · 6个月以上 · 成本:长周期的协议逆向解析与适配、持续跟进主流自动化工具接口变更的成本。 |
| 收费模式 | 开源核心 + 企业高级功能(请求重写、复杂事件模拟)双许可,或按自动化执行时长计费的云网关。 |
| 竞争风险 | Chrome 与 WebKit 协议差异逐年增大(README已提及),部分现代 CDP 特性在 iOS 真实 WebKit 上无法完全等价实现。 |
| 依据 | 数据支持的判断 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| artygus/ios-webkit-debug-proxy-win32 | 中文介绍暂未生成 Win32 port of ios-webkit-debug-proxy (no longer maintained, |
183 | C |
| gs3170981/chrome_ios_safari_ios-webkit-debug-proxy | 中文介绍暂未生成 【插件】chrome对ios端safari浏览器进行的反向响应调试,内含全套插件,chrome以及教程,特别diss百度 |
60 | - |
| nnemirovsky/iwdp-mcp | 中文介绍暂未生成 MCP server + CLI for iOS Safari debugging via ios-webkit-deb |
21 | Go |
| artygus/devtools-compat-proxy | 中文介绍暂未生成 A DevTools compatibility layer for ios-webkit-debug-proxy to |
15 | JavaScript |
| macacajs/node-ios-webkit-debug-proxy | 中文介绍暂未生成 Node.js wrapper for Google ios-webkit-debug-proxy |
6 | JavaScript |
| wechat-miniprogram/ios-webkit-debug-proxy-rust | 中文介绍暂未生成 A DevTools proxy (Chrome Remote Debugging Protocol) for iOS |
1 | Rust |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 ,最近推送 ,发布过 17 个 Release |
| 社区活跃 | Star 6,209 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/google/ios-webkit-debug-proxy.git cd ios-webkit-debug-proxy # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。