Skip to content

Commit 90bdf7c

Browse files
committed
ci(ios): download iOS platform SDK before archive
1 parent f8e8e76 commit 90bdf7c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release-ios.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ jobs:
3636
if echo "$FULL" | grep -qE '20[0-9]{6}\.[0-9]+'; then
3737
DATE_PART=$(echo "$FULL" | grep -oE '20[0-9]{6}')
3838
SEQ_PART=$(echo "$FULL" | grep -oE '20[0-9]{6}\.([0-9]+)' | sed 's/.*\.//')
39-
SEQ_PART=$(printf '%02d' "$SEQ_PART")
4039
BUILD="${DATE_PART}${SEQ_PART}"
4140
elif echo "$FULL" | grep -qE '20[0-9]{6}'; then
42-
DATE_PART=$(echo "$FULL" | grep -oE '20[0-9]{6}')
43-
BUILD="${DATE_PART}01"
41+
BUILD=$(echo "$FULL" | grep -oE '20[0-9]{6}')
4442
else
45-
BUILD=$(date +%Y%m%d)01
43+
BUILD=$(date +%Y%m%d)1
4644
fi
4745
4846
# Full version string for display (e.g. 0.0.1-beta.20260319.5)
@@ -86,6 +84,9 @@ jobs:
8684
with:
8785
xcode-version: '26'
8886

87+
- name: Download iOS platform
88+
run: xcodebuild -downloadPlatform iOS
89+
8990
- name: Install Apple certificates
9091
env:
9192
APPLE_DIST_P12: ${{ secrets.APPLE_CERTIFICATE_P12 }}
@@ -150,7 +151,8 @@ jobs:
150151
CODE_SIGN_STYLE=Manual \
151152
CODE_SIGN_IDENTITY="Apple Distribution" \
152153
DEVELOPMENT_TEAM="LBN3W98T26" \
153-
PROVISIONING_PROFILE_SPECIFIER="ClawChat App Store"
154+
PROVISIONING_PROFILE_SPECIFIER="ClawChat App Store" \
155+
SWIFT_STRICT_CONCURRENCY=minimal
154156
155157
- name: Export IPA
156158
working-directory: ios

0 commit comments

Comments
 (0)