Skip to content

Commit cf7e024

Browse files
committed
fix: add clean build and dependency resolution steps to CI
- Add explicit clean step before building - Resolve package dependencies explicitly - Add verbose logging for better error diagnosis - Should fix asset catalog and Swift package issues
1 parent 793dae0 commit cf7e024

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/build-macos.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ jobs:
2424
with:
2525
xcode-version: "latest-stable"
2626

27+
- name: Clean build directory
28+
run: |
29+
xcodebuild clean -project Taskito.xcodeproj -scheme Taskito
30+
rm -rf build
31+
32+
- name: Resolve Package Dependencies
33+
run: |
34+
xcodebuild -resolvePackageDependencies -project Taskito.xcodeproj -scheme Taskito
35+
2736
- name: Build the app
2837
run: |
2938
xcodebuild -project Taskito.xcodeproj \
@@ -32,7 +41,8 @@ jobs:
3241
-derivedDataPath build \
3342
CODE_SIGN_IDENTITY="" \
3443
CODE_SIGNING_REQUIRED=NO \
35-
CODE_SIGNING_ALLOWED=NO
44+
CODE_SIGNING_ALLOWED=NO \
45+
-verbose
3646
3747
- name: Verify App Existence
3848
run: ls -la build/Build/Products/Release/

0 commit comments

Comments
 (0)