Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Drive a prebuilt XCTest runner through an explicit remote simulator transport on Linux

Offen
#4,110 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
43/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
devtools, mobile, testing

Rechercherichtung

Start by reading inventory2.js and RunnerTests.swift, then trace how the configured Apple transport is selected and how runner environment preparation uses plutil. Check the existing iosXctestrunFile path and simulator app install/reset flow. Done means the explicitly selected remote transport works from Linux while default non-Darwin rejection remains, runner plist handling no longer depends on host plutil, and app reset is performed through the transport.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

We are driving iOS simulators on Argent Cloud from Linux CI with agent-device 0.21.28, reusing XCTest runner Products built on a Mac. Simulator discovery, app install/launch and an authenticated XCTest snapshot work end-to-end after the changes below.

  1. RunnerTests.swift: make let app = XCUIApplication() lazy (lazy var app = XCUIApplication()). Eager construction prevents the runner from starting when launched headlessly as a standalone xctrunner; lazy construction lets its listener start and then activate the target app.
  2. inventory2.js currently rejects every non-Darwin host before invoking the configured Apple transport. Allow discovery only when a remote simulator transport is explicitly selected; keep the default non-Darwin rejection. Our experiment opts in with AGENT_DEVICE_APPLE_TRANSPORT=sim-remote.
  3. The existing iosXctestrunFile client option already lets Linux reuse Mac-built runner Products, but runner environment preparation shells out to plutil. A Node plist reader/writer would remove this host dependency. simctl listapps also needs OpenStep plist parsing; app/runner Info.plist can be XML or binary.
  4. Keep app reset transport-owned: a remote get_app_container returns a downloaded copy, so deleting that local path cannot reset remote app state. We use uninstall/install followed by privacy grants.

We can supply the reproduction and our downstream patch. No need to weaken accessibility/occlusion checks or maintain a second test runner.

Vorherrschende Sprache
TypeScript
Sterne
5.2k
Forks
359
Ø Merge
13 Std. 32 Min.
Gemergte PRs (30 T.)
671

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus callstack/agent-device

Alle Issues in callstack/agent-device

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.