From e05e5f05ae085e88b2df12266d9c168e7fc78ef5 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 24 Mar 2026 07:15:57 +0000 Subject: test: fix verify with Nimble and simulator boot --- justfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'justfile') diff --git a/justfile b/justfile index 25d8b66..a6efeeb 100644 --- a/justfile +++ b/justfile @@ -35,6 +35,11 @@ localize destination="platform=macOS" configuration="Debug": xcodebuild -project Sora.xcodeproj -configuration {{configuration}} -scheme {{target}} -destination '{{destination}}' CODE_SIGNING_ALLOWED=NO build _test destination="platform=iOS Simulator,name=iPhone 17 Pro" scheme="SoraTests" configuration="Debug" *xcodebuild_args: + simulator_name="$(printf '%s\n' '{{destination}}' | sed -n "s/.*name=\\([^,']*\\).*/\\1/p")"; \ + if [ -n "${simulator_name}" ]; then \ + xcrun simctl boot "${simulator_name}" >/dev/null 2>&1 || true; \ + xcrun simctl bootstatus "${simulator_name}" -b; \ + fi xcodebuild -project Sora.xcodeproj -configuration {{configuration}} -scheme {{scheme}} -destination '{{destination}}' {{xcodebuild_args}} test test destination="platform=iOS Simulator,name=iPhone 17 Pro" scheme="SoraTests" configuration="Debug": -- cgit v1.2.3