run-ios on Xcode 27: DeviceHub opens no window when the simulator is shut down
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/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, react-native, typescript
- Lĩnh vực
- cli, mobile-dev
Hướng nghiên cứu
Start with the runOnSimulator flow used by run-ios and reproduce the two open-and-boot command orders from the issue on a shut-down simulator. Compare the behavior with boot-first ordering; done means run-ios opens the target simulator window rather than leaving it headless. A linked pull request indicates that work is already underway.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
- macOS 26.6.2 (25G83)
- Xcode 27.0 (27A266a), iOS 27.0 simulator runtime (24A434)
@react-native-community/cli20.2.0;runOnSimulatoris unchanged onmain(21.0.0-alpha.1)react-native0.87.1- Node 22.22.3
Description
When the target simulator is shut down, run-ios builds, installs and launches the app, but DeviceHub never shows the simulator's window. The simulator runs headless, and DeviceHub keeps showing whatever device window was already open, if any. When the simulator is already booted, its window opens as expected.
runOnSimulator opens devices://device/open?id=<udid> and then runs xcrun simctl boot. DeviceHub opens a window for a device that is already booted, and also for one that stays shut down, but not for a device that starts booting right after the deep link is opened. Booting first and opening the deep link afterwards shows the window.
Reproducible Demo
With a shut-down simulator that has no DeviceHub window open:
UDID=<shut-down simulator UDID>
# What run-ios does today: the simulator boots, no window opens
open "devices://device/open?id=$UDID"; xcrun simctl boot "$UDID"
xcrun simctl shutdown "$UDID"
# Boot first, then open: the window opens
xcrun simctl boot "$UDID"; open "devices://device/open?id=$UDID"
In any React Native app, npx react-native run-ios --udid <shut-down simulator UDID> launches the app on a headless simulator.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.9k
- Fork
- 948
- Merge trung bình
- 10 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của react-native-community/cli
-
run-ios --udid <physical device> throws "No simulator available" because the fallback simulator is resolved eagerlyCó thể đã có người làm @huytdps13400 đã nhận 40 ngày trước. Đang mởbug report
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
react-native-community/cli#2826 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`project.ios.automaticPodsInstallation` default of `true` never applies unless `project.ios` is explicitly declared in `react-native.config.js`Có thể đã có người làm @huytdps13400 đã nhận 40 ngày trước. Đang mởbug report
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
react-native-community/cli#2825 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
run-ios: "Unable to boot device in current state: Booted" alert when the simulator is already bootedCó thể đã có người làm @bryandent đã nhận 84 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
react-native-community/cli#2820 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
run-ios --buildFolder installs the app from the default DerivedData instead of the build folderCó thể đã có người làm @lovisschmidt đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
react-native-community/cli#2869 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Tons of errors are ignoredĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
react-native-community/cli#2852 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của react-native-community/cli
Issue tương tự
-
area/dashboard kind/bug QA/dev-automation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
rancher/dashboard#19379 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
perf(core): getComments() runs the approved count and the comment list as two sequential queriesĐang mởarea/core bot:bug bot:working
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
emdash-cms/emdash#3905 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
lingdojo/kana-dojo#31728 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
selective-claw: freshTailTurns=0 keeps ALL turns verbatim and summarizes none (slice(-0) === slice(0))Có thể đã có người làm @zjncs đã nhận hôm nay. Đang mởcomponent:tokenless
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
agentic-os-org/ANOLISA#6112 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rjsf-team/react-jsonschema-form#5439 ·
Maintainer thường phản hồi trong vòng 1 ngày