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.
This commit is contained in:
parent
eed1dc428b
commit
0bd4d3a1c7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user