Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

fix

fix #4

Workflow file for this run

name: Compile Check
on:
push:
branches: [ "dev" ]
jobs:
compile:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
# 1. Install XcodeGen
- name: Install XcodeGen
run: brew install xcodegen
# 2. Generate the Xcode project
- name: Generate Xcode Project
run: xcodegen generate
# 3. Cache SwiftPM package builds (SUPER IMPORTANT)
- uses: actions/cache@v4
with:
path: |
~/Library/Developer/Xcode/DerivedData
.build
key: swiftpm-${{ hashFiles('project.yml') }}
restore-keys: |
swiftpm-
# 4. Compile check ONLY (real build, no archive, fast)
- name: Compile Check (Cached)
run: |
xcodebuild \
-scheme prostore \
-destination "platform=iOS Simulator,name=iPad (10th generation),OS=18.6" \
-configuration Debug \
-UseModernBuildSystem=YES \
-skipBuildDependencies \
BUILD_DIR=$(pwd)/build \
ONLY_ACTIVE_ARCH=YES