Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#4,110 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
43/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
ios, javascript, node.js, swift, typescript
Domínio
devtools, mobile, testing

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
5.2k
Forks
359
Merge médio
13h 32min
PRs com merge (30d)
671

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de callstack/agent-device

Todas as issues de callstack/agent-device

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.