Skip to main content

OpenClaw详细安装流程:

OpenClaw 常用命令:

Openclaw IOS应用连接OpenClaw教程:

OpenClaw iOS(模拟器)从安装到手动连接 Mac mini 全流程(不使用配对码)
  1. 安装依赖(Mac mini)
  1. 生成 iOS 工程
  1. 在 Xcode 安装到模拟器
  • Scheme: OpenClaw
  • Destination: 任选 iPhone Simulator(如 iPhone 16)
  • Configuration: Debug
  • 点击 Run(⌘R
  1. 启动并确认网关
应看到监听 127.0.0.1:18789
  1. 确认网关认证方式
你当前是 token 模式。
  1. 取手动连接所需凭证
拿到 token(password 在 token 模式下不用填)。
  1. iOS App 手动连接(不走 setup code) 在模拟器 App 中:
  • Settings -> Gateway -> Advanced
  • 打开 Use Manual Gateway
  • Host: 127.0.0.1(或 localhost
  • Port: 18789
  • Use TLS: off
  • Gateway OAuth Token: 第 6 步 token
  • Gateway OAuth Password: 留空
  • 点击 Connect (Manual)
  1. 如果出现 pairing required(常见) 这不是 setup code,而是设备审批,执行:
或 Telegram /pair approve
  1. 验证连接
并在 App 的 Settings -> Gateway 看:
  • Status 已连接
  • Server/Address 有值

一键排障命令(连接失败时按顺序跑)

Bug 解决:

Bug1: gateway connect failed: Error: pairing required

Bug2:disconnected (1008): unauthorized: gateway token missing (open the dashboard URL and paste the token in Control UI settings)

This gateway requires auth. Add a token or password, then click Connect.openclaw dashboard —no-open → tokenized URL openclaw doctor —generate-gateway-token → set token Docs: Control UI auth Token 不匹配问题:
Last modified on February 24, 2026