From 6ed4134a0e9440177860312cdab16fd3c14b9fab Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 30 Oct 2026 11:54:52 +0000 Subject: [PATCH] Apple CI: build the iOS app for the arm64 simulator only (the shared XCFramework has no x86_64 slice) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF --- .github/workflows/apple.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/apple.yml b/.github/workflows/apple.yml index 5a387e1..38c1ccd 100644 --- a/.github/workflows/apple.yml +++ b/.github/workflows/apple.yml @@ -49,13 +49,14 @@ jobs: - name: The shared Kotlin as an XCFramework run: ./gradlew :shared:assembleDModemSharedReleaseXCFramework + # arm64 only: the shared Kotlin's XCFramework has no x86_64 simulator slice - name: The iOS app (simulator) run: | brew install xcodegen cd ios/DModem && xcodegen generate xcodebuild -project DModem.xcodeproj -scheme DModem \ -destination 'generic/platform=iOS Simulator' \ - CODE_SIGNING_ALLOWED=NO build + ARCHS=arm64 CODE_SIGNING_ALLOWED=NO build - uses: actions/upload-artifact@v4 with: