workflow: build native macOS app instead of Mac Catalyst
1 file changed,
+6
−6
.github/workflows/build-apps.yml+6 −6
diff --git a/.github/workflows/build-apps.yml b/.github/workflows/build-apps.yml| index 7be20d7..88deb5c 100644 |
| --- a/.github/workflows/build-apps.yml |
| +++ b/.github/workflows/build-apps.yml |
| @@ -27,11 +27,11 @@ jobs: |
| working-directory: ios |
| run: xcodegen generate |
| - - name: Build macOS (Mac Catalyst) |
| + - name: Build macOS (native) |
| working-directory: ios |
| run: | |
| - xcodebuild -project LChat.xcodeproj -scheme LChat \ |
| - -destination 'platform=macOS,variant=Mac Catalyst' \ |
| + xcodebuild -project LChat.xcodeproj -scheme LChatMac \ |
| + -destination 'generic/platform=macOS' \ |
| -derivedDataPath build CODE_SIGNING_ALLOWED=NO build |
| - name: Build iOS (Simulator) |
| @@ -44,8 +44,8 @@ jobs: |
| - name: Prepare artifacts |
| run: | |
| mkdir -p artifacts |
| - # Mac Catalyst build |
| - ditto ios/build/Build/Products/Debug-maccatalyst/LChat.app artifacts/LChat-mac.app |
| + # Native macOS build |
| + ditto ios/build/Build/Products/Debug/LChatMac.app artifacts/LChatMac.app |
| # iOS Simulator build |
| ditto ios/build/Build/Products/Debug-iphonesimulator/LChat.app artifacts/LChat-ios.app |
| @@ -58,7 +58,7 @@ jobs: |
| name: App Build ${{ github.run_number }} |
| body: | |
| Built from commit ${{ github.sha }} |
| - - **LChat-mac.app** — macOS (Mac Catalyst) |
| + - **LChatMac.app** — native macOS |
| - **LChat-ios.app** — iOS Simulator build |
| - name: Upload artifacts for PR |