`fold` always fails on Xcode 27.1 RC: its pose check calls `devicectl device motion hinge-angle`, which this devicectl doesn't have
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- cli, mobile-dev
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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".
- Lingua principale
- TypeScript
- Stelle
- 5k
- Fork
- 334
- Merge medio
- 11h 48m
- PR unite (30g)
- 605
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di callstack/agent-device
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
callstack/agent-device#3407 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
callstack/agent-device#3353 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
callstack/agent-device#1869 ·
I maintainer di solito rispondono entro 1 giorno
-
iOS: fill rejects the right text as `TEXT_ENTRY_MISMATCH` when the focused field moves while typing (since 0.21.25)Forse già presa @Lanchez l’ha presa oggi. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
callstack/agent-device#3595 ·
I maintainer di solito rispondono entro 1 giorno
-
Type the rect-requiring resolution rows as ref-bearing instead of proving it by commentForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaready-for-agent refactor
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
callstack/agent-device#3576 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di callstack/agent-device
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
status:approved type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
egdev6/quorb#109 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
stage:4
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
ilan-pinto/roaring-lions#598 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Frontmatter next to `src:` is applied to every imported slide, not only the first (undocumented)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno