Skip to content

Commit 30da3db

Browse files
committed
Update GitHub Actions workflow to use Xcode 15.4 for iOS build
- Adjust Xcode version selection to point to Xcode 15.4 - Modify project reference in build command to use .xcodeproj extension - Update comments for clarity on project and scheme names
1 parent 984d1f9 commit 30da3db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: iOS Build (Unsigned IPA)
22

33
on:
4-
workflow_dispatch: # 手动触发
4+
workflow_dispatch:
55
push:
66
branches:
77
- main
@@ -15,13 +15,13 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Select Xcode version
18-
run: sudo xcode-select -s /Applications/Xcode_16.3.app
18+
run: sudo xcode-select -s /Applications/Xcode_15.4.app # 根据实际 Xcode 版本调整
1919

2020
- name: Build archive
2121
run: |
2222
xcodebuild clean archive \
23-
-project PakePlus.xcworkspace \ # 如果是.xcodeproj就改成 -project
24-
-scheme PakePlus \
23+
-project PakePlus.xcodeproj \ # 这里改成你项目的实际 .xcodeproj 名称
24+
-scheme PakePlus \ # 这里改成你的 scheme 名称
2525
-configuration Release \
2626
-archivePath $PWD/build/PakePlus.xcarchive \
2727
SKIP_INSTALL=NO \

0 commit comments

Comments
 (0)