Skip to content

Commit

Permalink
fixed iOS simulator build.
Browse files Browse the repository at this point in the history
Disabled arm64 architecture build, since SwiftSH does not supports it
  • Loading branch information
Vitalii Kotivskyi committed Dec 3, 2024
1 parent e909d69 commit 1b5cd0c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b5cd0c

Please sign in to comment.