fix(m9): pin prebuilt xcodegen for macOS 12 CI (#109) #110

Merged
gronod merged 1 commits from feat/109-ci-xcodegen-pin into milestone/m9-monterey 2026-09-12 08:35:52 +01:00
Owner

Fixes #109.

Run 31390 failed on the macos-12 runner: brew install xcodegen resolved to xcodegen 2.46.0, whose formula requires Xcode 15.3 — impossible on macOS 12 (Xcode 14.2 installed). The job died in Ensure host tools, before xcodegen generate.

Changes:

  • New scripts/ensure-host-tools.sh: installs dmgbuild via pip3 and, when xcodegen is absent, downloads the pinned prebuilt XcodeGen 2.38.0 release zip (Xcode 14-era, universal binary, macOS 12 compatible) into $HOME/.local/xcodegen/2.38.0 and exposes it via $GITHUB_PATH. No Homebrew, no sudo.
  • .gitea/workflows/macos.yml: build-and-test Ensure host tools step now calls the script; package job gains the same step since scripts/package-release.sh runs xcodegen generate + dmgbuild.

Verified locally: the script installs 2.38.0 and xcodegen generate --spec project.yml produces ICCery.xcodeproj successfully.

Fixes #109. Run 31390 failed on the macos-12 runner: `brew install xcodegen` resolved to xcodegen 2.46.0, whose formula requires Xcode 15.3 — impossible on macOS 12 (Xcode 14.2 installed). The job died in `Ensure host tools`, before `xcodegen generate`. Changes: - New `scripts/ensure-host-tools.sh`: installs dmgbuild via pip3 and, when xcodegen is absent, downloads the pinned prebuilt **XcodeGen 2.38.0** release zip (Xcode 14-era, universal binary, macOS 12 compatible) into `$HOME/.local/xcodegen/2.38.0` and exposes it via `$GITHUB_PATH`. No Homebrew, no sudo. - `.gitea/workflows/macos.yml`: `build-and-test` `Ensure host tools` step now calls the script; `package` job gains the same step since `scripts/package-release.sh` runs `xcodegen generate` + dmgbuild. Verified locally: the script installs 2.38.0 and `xcodegen generate --spec project.yml` produces ICCery.xcodeproj successfully.
gronod added the
Priority
High
2
Project/ICCery-v2Bug/DevOps
labels 2026-09-12 08:34:49 +01:00
gronod added 1 commit 2026-09-12 08:34:50 +01:00
brew install xcodegen resolves to a formula requiring Xcode 15.3, which
cannot be installed on the macOS 12 runner (Xcode 14.2), failing run
31390 before project generation. Install a pinned prebuilt XcodeGen
2.38.0 release via scripts/ensure-host-tools.sh, shared by the
build-and-test and package jobs (package-release.sh also runs xcodegen).

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
gronod merged commit 45fd2b988f into milestone/m9-monterey 2026-09-12 08:35:52 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/iccery-v2-mac#110