`fold` always fails on Xcode 27.1 RC: its pose check calls `devicectl device motion hinge-angle`, which this devicectl doesn't have
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #3587 de @thymikee — fusionado
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- cli, mobile-dev
Línea de trabajo
Start at the fold pose check, which runs devicectl device motion hinge-angle and emits the 'Unknown option' hint, and at the apple_fold_pose_dispatched logging just before it. Reproduce on an iPhone Duo simulator with iOS 27.1 using fold open, and confirm the command runs even though devicectl 651.13.5 lacks motion. Done means that a devicectl without motion either verifies the pose another way or reports a distinct 'dispatched but unverified' error code, and that fold closed behaves the same way.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment
- agent-device 0.21.13 (reproduced). The latest, 0.21.27, has the same check (
devicectl device motion hinge-angle --device <udid> --session-timeout 1 --timeout 5) and the same hint, with no other way to verify the pose. - Xcode 27.1 RC, build 27A9275. devicectl 651.13.5.
- macOS 27.0.
- Simulator: iPhone Duo (
com.apple.CoreSimulator.SimDeviceType.iPhone-Duo) on iOS 27.1 (24A94232).
Steps
- Create and boot a stock Duo simulator:
xcrun simctl create "Duo test" com.apple.CoreSimulator.SimDeviceType.iPhone-Duo com.apple.CoreSimulator.SimRuntime.iOS-27-1 xcrun simctl boot <udid> - Open Settings, then unfold:
agent-device open com.apple.Preferences --device "Duo test" agent-device fold open
Expected: fold open reports the verified pose open.
Actual: within about a second it fails:
Error (COMMAND_FAILED): CoreDevice reported no hinge angle sample: Unknown option '--device'
Hint: This Xcode/CoreDevice toolchain does not stream 'devicectl device motion hinge-angle' for this device. Foldable poses can be verified only through that stream; update Xcode to a version that ships it.
But the fold has already happened:
- The request log shows
apple_fold_pose_dispatchedwith the requested pose before the failure. agent-device screenshotnow reports the inner panel's size (951x669). Settings is shown in landscape split view.fold closedfails the same way and brings back the outer panel (466x678).
Why: devicectl 651.13.5 has no motion subcommand. xcrun devicectl help device lists appResize, capture, copy, info, install, notification, orientation, pairings, pasteboard, process, profile, reboot, rename, settings, simulate, sysdiagnose, uninstall, and xcrun devicectl device motion hinge-angle --device <udid> fails with Error: Unknown option '--device'. devicectl device info displays --device <udid> still works on this build and lists both integrated panels.
Suggestion: on a devicectl without device motion, verify the pose another way. For example, use the lit panel's size from a capture, as fold already reports it. Or report the pose as dispatched but unverified, with its own error code, so callers can tell "sent, not verified" from "failed".
- Lenguaje dominante
- TypeScript
- Estrellas
- 5k
- Forks
- 334
- Merge medio
- 13 h 19 min
- PR fusionados (30 d)
- 630
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstack/agent-device
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
callstack/agent-device#3627 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
callstack/agent-device#3353 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
callstack/agent-device#1869 ·
Los mantenedores suelen responder en 1 día
-
iOS 26: `_UIFloatingBarContainerView` marks sheet content (and sometimes whole screens) as coveredAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
callstack/agent-device#3628 ·
Los mantenedores suelen responder en 1 día
-
on-hold refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 40/100
callstack/agent-device#3607 ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstack/agent-device
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
AvaProtocol/ava-sdk-js#276 ·
Los mantenedores suelen responder en 1 día
-
useFragment does not require `variables` when the fragment's variables type has required fieldsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
apollographql/apollo-client#13493 ·
Los mantenedores suelen responder en 1 día
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backendsPosiblemente ocupada @roboomp la tomó hoy. Abiertobug prio:p2 providers triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
can1357/oh-my-pi#15798 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
code-yeongyu/oh-my-openagent#10172 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
PDFCraftTool/pdfcraft#189 ·