From 0bd4d3a1c70e5f2e2b807272d998e4d137f0afbf Mon Sep 17 00:00:00 2001 From: devxpain <170700110+devxpain@users.noreply.github.com> Date: Sun, 18 May 2025 13:04:08 +0800 Subject: [PATCH] fix(examples/mobile): ensure Simulator app is open before booting device Add `open -a Simulator` to the `boot-sim` Makefile target before calling `xcrun simctl boot`. This helps ensure the Simulator application is properly launched, which can improve the reliability of the boot command. --- examples/mobile/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mobile/Makefile b/examples/mobile/Makefile index be01ae2e0e..1e12634fb2 100644 --- a/examples/mobile/Makefile +++ b/examples/mobile/Makefile @@ -9,7 +9,7 @@ run: install xcrun simctl launch --console $(DEVICE) org.bevyengine.example boot-sim: - xcrun simctl boot $(DEVICE) || true + open -a Simulator && xcrun simctl boot $(DEVICE) || true install: xcodebuild-simulator boot-sim xcrun simctl install $(DEVICE) build/Build/Products/Debug-iphonesimulator/bevy_mobile_example.app