From 1b5cd0c1acb3c9dd12a8882c2608f9e984a691aa Mon Sep 17 00:00:00 2001 From: Vitalii Kotivskyi Date: Tue, 3 Dec 2024 17:03:45 +0100 Subject: [PATCH] fixed iOS simulator build. Disabled arm64 architecture build, since SwiftSH does not supports it --- .github/workflows/swift.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 0010fda..2aef637 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -32,9 +32,7 @@ jobs: run: xcodebuild -project TerminalApp/MacTerminal.xcodeproj -scheme MacTerminal - name: Xcode iOS Build - run: | - targetId=`xcrun xctrace list devices 2>&1 | sed -n -E '/^iPhone/s/.*\(|\)//gp' | head -1` - xcodebuild -project TerminalApp/iOSTerminal.xcodeproj -scheme iOSTerminal -destination "platform=iOS Simulator,id=$targetId" + run: xcodebuild -project TerminalApp/iOSTerminal.xcodeproj -scheme iOSTerminal -destination generic/platform='iOS Simulator' EXCLUDED_ARCHS="arm64" - name: Swift Package Build run: swift build -v