DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
fix(ci): pin TestFlight to verified Xcode 26.4.1 on macOS 26
idealclover81dcf79ba19e
diff --git a/.github/workflows/release-testflight.yml b/.github/workflows/release-testflight.ymlindex 9f05b157..54db3ce7 100644--- a/.github/workflows/release-testflight.yml+++ b/.github/workflows/release-testflight.yml@@ -37,7 +37,7 @@ jobs:github.repository == 'dsh-tauri/deepseek-harness-desktop' &&(inputs.source_ref != '' || github.ref == 'refs/heads/main')name: Sign and upload iOS TestFlight- runs-on: macos-15-intel+ runs-on: macos-26timeout-minutes: 120defaults:run:@@ -73,8 +73,19 @@ jobs:[[ "$(git rev-parse HEAD)" == "$SOURCE_REF" ]]echo "SOURCE_SHA=$SOURCE_REF" >> "$GITHUB_ENV"- - name: Setup Xcode- uses: ./.github/actions/setup-xcode+ - name: Setup verified Xcode 26.4.1+ uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90+ with:+ xcode-version: '26.4.1'++ - name: Verify selected toolchain+ run: |+ set -euo pipefail+ xcodebuild -version+ xcrun swift --version+ [[ "$(xcodebuild -version | head -n 1)" == 'Xcode 26.4.1' ]]+ developer_dir="$(xcode-select -p)"+ echo "DYLD_FALLBACK_LIBRARY_PATH=$developer_dir/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx:/usr/lib/swift" >> "$GITHUB_ENV"- name: Setup Node.js and pnpmuses: ./.github/actions/setup-node-pnpmdiff --git a/docs/TESTFLIGHT.zh.md b/docs/TESTFLIGHT.zh.mdindex e048fd64..2f4f7887 100644--- a/docs/TESTFLIGHT.zh.md+++ b/docs/TESTFLIGHT.zh.md@@ -53,6 +53,8 @@ gh variable set IOS_TESTFLIGHT_ENABLED --body true --repo dsh-tauri/deepseek-har## 触发与产物+签名任务使用 `macos-26` ARM64 runner,固定 Xcode `26.4.1`,与已成功归档的本机工具链一致。当前 ExpoModulesJSI 在 Intel macOS 15 runner 的 Xcode 26.3 上有 Swift/C++ 互操作编译错误,不能仅为避开排队而回退到该工具链;未来调整 Xcode 版本须重新验证完整归档。+- 桌面正式发版成功后,现有 `Release Mobile Apps (Native)` 解析发行提交;新增独立 TestFlight 任务签名并上传该提交。- 原有 Android 和 unsigned iOS 任务保持不变,GitHub Release 的既有资产不因 TestFlight 上传失败而被阻止。- 手动试跑命令:diff --git a/test/mobile-release-workflows.test.ts b/test/mobile-release-workflows.test.tsindex 5d4701b2..c2184a6b 100644--- a/test/mobile-release-workflows.test.ts+++ b/test/mobile-release-workflows.test.ts@@ -142,6 +142,13 @@ describe('mobile release workflow contracts', () => {expect(section(release, 'build-ios', 2)).not.toContain('secrets:')})+ it('pins TestFlight to the locally verified Xcode toolchain on macOS 26', () => {+ const signed = readSource('.github/workflows/release-testflight.yml')+ expect(signed).toContain('runs-on: macos-26')+ expect(signed).toContain('xcode-version: \'26.4.1\'')+ expect(signed).not.toContain('runs-on: macos-15-intel')+ })+it('keeps the native version synchronized with the desktop version', () => {expect(JSON.parse(readSource('app.json')).expo.version).toBe(JSON.parse(readSource('package.json')).version)expect(bumpConfig.files).toContain('app.json')