Skip to content

1.7.2: accessibility reads fail and screenshots take 5 s on tvOS 27 simulators ("no active integrated display") #981

Open

Description

@kasinskas

idb ui describe-all and idb ui describe-point fail on a tvOS 27.0 simulator with 1.7.2 and 1.7.3, and idb screenshot only succeeds after a ~5 s wait. The same simulator works with 1.6.4.

$ idb ui describe-all --json
Simulator currently reports no active integrated display

Companion log (1.7.3):

accessibility_info failed after 5.09s: Simulator currently reports no active integrated display
accessibility_info failed after 5.02s: Simulator currently reports no active integrated display
screenshot called with: [format=png, compressionQuality=0.0, scale=nil, unit=pixels, crop=nil]
Capturing the main screen, as the active display could not be captured: noActiveIntegratedDisplay
SimDisplay Class '1' is not the main display '0'; holding as fallback (e.g. tvOS TVOut)
screenshot succeeded in 5.23s
1.6.4 1.7.2 1.7.3
ui describe-all ok (0.9 s) fails after ~5.1 s fails after ~5.1 s
ui describe-point ok fails after ~5.1 s fails after ~5.1 s
screenshot 0.4 s 5.5 s 5.4 s
describe, ui text, ui key ok ok ok

Environment

  • idb_companion / idb 1.7.2 and 1.7.3 (release artifacts). 1.6.4 works on the same simulator.
  • macOS 27.0, Xcode 27.1 (27A9269)
  • Apple TV 4K (3rd generation), tvOS 27.0 (24J360): fails every time
  • tvOS 17.5, 18.2 and 26.4 simulators work with 1.7.3

Repro

  1. Boot an Apple TV 4K (3rd generation) simulator on tvOS 27.0.
  2. idb_companion --udid <udid> --grpc-port 10882 --only simulator
  3. idb --companion localhost:10882 ui describe-all --json fails after ~5 s; idb --companion localhost:10882 screenshot out.png succeeds after ~5 s.

Likely cause

tvOS 27 reports its only display as TVOut (class 1, not the main display 0). Since 62e0671 ("Fail interactions while the active display is unresolved"), the active-display check treats that as noActiveIntegratedDisplay, so interactions wait out the ~5 s resolution window and then fail, and screenshots wait and then fall back to the main screen. This looks like the same TVOut shape as #967. Treating a single TVOut display as the active display on tvOS, as the screenshot fallback already does, would restore the 1.6.4 behaviour.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions