Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

iOS simulator runs fail on Xcode 27 when the app is not installed

Đã đóng
#223 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #224 của @DaveyEke — đã merge

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
ios, typescript
Lĩnh vực
mobile, testing

Hướng nghiên cứu

Start at the getAppInfo helper and the platform setup path that calls xcrun simctl appinfo. Reproduce on Xcode 27 with the app uninstalled and HARNESS_APP_PATH set, then inspect how the command’s exit code is handled. Done means setup installs the app and the simulator run proceeds when appinfo reports no application record; a linked pull request is already open.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

On Xcode 27, an iOS simulator run fails at startup when the app is not already installed on the simulator. Harness does not install it from HARNESS_APP_PATH, and the run aborts with:

DOMException [AbortError]: The operation was aborted

Harness checks whether the app is installed with xcrun simctl appinfo. getAppInfo expects the command to succeed and print a one-entry plist for a missing app, which is what Xcode 26.5 does. On Xcode 27, simctl appinfo exits with code 3 instead:

An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to lookup application properties for com.margelo.nitro.example.
No application record found for that bundle identifier

spawn throws on the non-zero exit, so platform setup fails and the session aborts.

To reproduce, use Xcode 27, uninstall the app from a booted simulator, and run Harness with HARNESS_APP_PATH set.

Ngôn ngữ chính
TypeScript
Star
335
Fork
23
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
52

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstackincubator/react-native-harness

Tất cả issue của callstackincubator/react-native-harness

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.