Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: only enable apple-intelligence feature for aarch64 macOS builds

Louis Beaumontfb83f4a398b6
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index f45ba0581..cc031a6e2 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -651,8 +651,8 @@ jobs:
shell: bash
run: |
ARGS="${{ matrix.tauri-args }}"
- if [[ "${{ steps.detect-xcode.outputs.has_apple_intelligence }}" == "true" ]]; then
- # Append apple-intelligence to existing --features flag
+ if [[ "${{ steps.detect-xcode.outputs.has_apple_intelligence }}" == "true" && "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then
+ # Apple Intelligence only works on aarch64 — the crate exports nothing on x86_64
ARGS=$(echo "$ARGS" | sed 's/--features \([^ ]*\)/--features \1,apple-intelligence/')
echo "🧠 Tauri build will include Apple Intelligence"
fi