#208

[0.3.1 (752)] iPhone 14 Pro / iOS 27.2:不弹出锁屏密码确认,自动化报 developer_framework_unavailable

OpenRyan-7962opened 10d ago

What happened

设备为 iPhone 14 Pro、iOS 27.2,已通过 Mac 上的 Poki Setup 更新到 Poki 0.3.1 (752) Alpha。

**用户观察:**开启 Poki 后,没有弹出让用户输入 iPhone 锁屏密码的系统确认界面;发起需要读屏或操作的任务时,自动化无法执行。

日志证据:

  • 多次出现 no automation since this iPhone restarted: telling the owner iOS will ask for the passcode,但用户实际没有看到对应弹窗。
  • 本地连接随后报告 developer service: working 和 10.7.0.1 answers again。
  • 读屏任务进入 connecting → pairing → running 后,立即出现 developer_framework_unavailable;Look at the screen 和 Act on the screen 都失败。
  • 关闭并重开 Poki、关闭再开启会话后,仍反复出现同一错误。

预期:如果本次启动需要系统密码确认,应实际弹出确认并能够继续自动化;如果启动在更早阶段失败,应给出具体的框架/环境诊断,而不只是提示 iOS 即将要求密码。

尚未确认根因。developer_framework_unavailable 可能与没有进入系统授权阶段有关,但不能据此认定密码权限本身有问题,也不能仅凭本地连接可达就断定应用内自动化框架已可用。

Steps to reproduce

  1. 在 iPhone 14 Pro / iOS 27.2 上,通过 Poki Setup 安装或升级到 0.3.1 (752) Alpha。
  2. 在 Shadowrocket 中开启包含路由 10.7.0.1/32 并连接,返回 Poki;本次安装器自检曾确认配对、Developer Mode 和开发者镜像挂载正常。
  3. 打开 Poki,开启主会话开关。观察是否出现 iOS 的锁屏密码/自动化确认界面。本次没有出现。
  4. 在 Poki 内发起一个需要读屏或操作的任务,触发日志中的 Look at the screen / Act on the screen。
  5. 关闭并重开 Poki,或关闭再开启会话,再次尝试;本次仍失败。

以上按这台设备的操作过程和日志整理,尚未在第二台设备复现。本次 0.3.1 故障发生时的 Wi-Fi/蜂窝状态未单独确认;导出日志包含旧版本历史,不能把旧版本的 noWiFi 直接视为本次故障状态。

Area

Automation on the phone (reads, taps, typing)

App version

Poki 0.3.1 (752) Alpha

Installed with

Poki Setup 0.2.2 (661),macOS 27.2,免费 Apple 开发者账户(7 天签名);使用官方 bin/install-iphone.mjs 流程升级。安装后的自检通过,但实际手机端自动化随后失败。

iPhone and iOS

iPhone 14 Pro (iPhone15,2), iOS 27.2

Debug log

日志导出时间:2026-11-12T03:18:37Z。以下仅保留 0.3.1 (752) 的相关节选,省略旧版本记录、私人对话内容和账户标识。锁屏密码、Apple 账户、Token、配对文件均未附带。

注意:原始导出日志中的部分 dlopen(/System/Developer/u... 错误行本身已经截断,下面保留其实际内容,没有推测补写完整框架路径。

Poki 0.3.1 (752), iPhone 14 Pro, iOS 27.2
Relay not set
10:51:55.356 [app] Poki started (0.3.1 build 752)
10:51:55.792 [runner] no automation since this iPhone restarted: telling the owner iOS will ask for the passcode
10:54:23.310 [loopback] developer service: working(ms: 1590)
10:54:23.311 [loopback] back: 10.7.0.1 answers again
11:04:15.255 [session] turned on
11:05:31.785 [agent] started: Look at the screen
11:05:31.785 [runner] an agent asked: opening the automation session again
11:05:31.788 [runner] connecting
11:05:31.789 [runner] pairing
11:05:31.964 [runner] running
11:05:31.999 [runner] in-process session not ready for the launcher is ready: developer_framework_unavailable after 0.03 s
11:05:32.020 [agent] failed: Look at the screen · failed: runner: failed: the in-process session could not be opened (developer_framework_unavailable: developer_framework_unavailable (dlopen(/System/Developer/u
11:05:34.932 [agent] started: Act on the screen
11:05:34.948 [agent] failed: Act on the screen · failed: runner: failed: the in-process session could not be opened (developer_framework_unavailable: developer_framework_unavailable (dlopen(/System/Developer/u
11:07:07.269 [session] turned off: closing the in-process session
11:07:07.401 [runner] in-process session was not open (turned off)
11:07:07.401 [session] turned off: Poki exits, and opening it again starts the next task
11:07:11.157 [app] Poki started (0.3.1 build 752)
11:07:13.034 [loopback] developer service: working(ms: 1545)
11:07:13.064 [runner] no automation since this iPhone restarted: telling the owner iOS will ask for the passcode
11:07:14.974 [session] turned on
11:08:55.695 [runner] in-process session not ready for the launcher is ready: developer_framework_unavailable after 0.00 s
11:08:55.759 [agent] failed: Look at the screen · failed: runner: failed: the in-process session could not be opened (developer_framework_unavailable: developer_framework_unavailable (dlopen(/System/Developer/u
11:10:22.235 [runner] no automation since this iPhone restarted: telling the owner iOS will ask for the passcode
11:10:43.565 [runner] in-process session not ready for the launcher is ready: developer_framework_unavailable after 0.01 s
11:10:43.589 [agent] failed: Look at the screen · failed: runner: failed: the in-process session could not be opened (developer_framework_unavailable: developer_framework_unavailable (dlopen(/System/Developer/u

Activity

1
JosssphZhou8d ago

Thanks for the iPhone 14 Pro details. The related startup recovery work in #214 is not yet a released fix. If the problem persists on 0.4.0, please provide the exact iOS and app builds, DDI version, and the full framework-loading error before truncation. Please redact personal paths and do not include pairing data. A successful run on another device does not close this case.