Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#4,110 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
43/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ios, javascript, node.js, swift, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
5.2k
フォーク
359
平均マージ
13時間 32分
マージ済み PR(30日)
671

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstack/agent-device のほかの issue

callstack/agent-device の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。