Skip to content

ci: build on macos-26 so the macOS 26 SDK (.glassEffect) is available#104

Merged
karansinghgit merged 1 commit into
mainfrom
ci/build-on-macos-26
Jul 10, 2026
Merged

ci: build on macos-26 so the macOS 26 SDK (.glassEffect) is available#104
karansinghgit merged 1 commit into
mainfrom
ci/build-on-macos-26

Conversation

@karansinghgit

Copy link
Copy Markdown
Owner

Problem

Main CI has been red on every commit since the recorder pill adopted native Liquid Glass. The Build (Debug) step fails with:

MiniRecorderView.swift:572:22: error: value of type 'Color' has no member 'glassEffect'
MiniRecorderView.swift:572:35: error: cannot infer contextual base in reference to member 'regular'

.glassEffect(...) is a macOS 26 SDK API (Xcode 26). The runner was macos-15 (Xcode 16.4), whose SDK doesn't contain the symbol, so the build can't compile. A runtime #available guard doesn't help — the symbol is absent at compile time in the older SDK.

Fix

Bump both CI jobs to macos-26 (Xcode 26), matching the toolchain the app is already developed against locally.

Notes

The Debug build step failed on every main commit because the recorder pill
uses SwiftUI's native Liquid Glass .glassEffect(...), which only exists in
the macOS 26 SDK. The runner was macos-15 (Xcode 16.4), whose SDK has no
such symbol, so `xcodebuild build` errored with:

  MiniRecorderView.swift:572: value of type 'Color' has no member 'glassEffect'

A runtime #available guard can't help — the symbol is absent from the older
SDK at compile time. Bump both jobs to macos-26 (Xcode 26) to match the
local toolchain and unblock the pipeline.
@karansinghgit
karansinghgit merged commit 201fac3 into main Jul 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant