From 70f003cb1a7c57892e6e152c34fcfede3ceafa07 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Tue, 25 Aug 2026 20:38:00 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20iOS=20TestFlight=20=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E4=B8=8D=E5=86=8D=E9=98=BB=E6=96=AD=E5=8F=91?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit altool 上传易抖(重复 build 号/ASC 临时错误),不应拖住 web/mac/win/android。 IPA 仍产出,上传失败仅告警,可稍后手动补传。对齐 CLAUDE.md「iOS 不阻塞」。 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Bupi8Kdqkfx2N5acFsHTx5 --- scripts/ci/compile-ios.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/ci/compile-ios.sh b/scripts/ci/compile-ios.sh index bf71236..15b4e1a 100755 --- a/scripts/ci/compile-ios.sh +++ b/scripts/ci/compile-ios.sh @@ -99,9 +99,14 @@ fi echo "==> compile-ios: built ${IPA}" # --- 上传 TestFlight(App Store Connect;本机 .p8 由 key-id 自动定位)--- +# TestFlight 是 App Store 独立分发渠道,上传本身易抖(重复 build 号 / ASC 临时错误); +# 其失败【不应阻断】web/mac/win/android 的整体发版(见 CLAUDE.md「iOS ... 不阻塞」)。 +# IPA 已产出,上传失败仅告警,可稍后用 altool/Transporter 手动补传同一 IPA。 echo "==> compile-ios: uploading to TestFlight" -xcrun altool --upload-app -f "$IPA" -t ios \ +if xcrun altool --upload-app -f "$IPA" -t ios \ --apiKey "${KEY_ID}" \ - --apiIssuer "${ISSUER}" - -echo "==> compile-ios: done — uploaded build ${BUILD} to TestFlight" + --apiIssuer "${ISSUER}"; then + echo "==> compile-ios: done — uploaded build ${BUILD} to TestFlight" +else + echo "!! compile-ios: TestFlight 上传失败(build ${BUILD}),不阻断发版;IPA=${IPA} 已产出,可稍后手动补传。" >&2 +fi