Skip to content

fix(macOS): avoid availability helper link failure - #3228

Merged
wgqqqqq merged 1 commit into
mainfrom
wgq/fix-1.0.2-macos-link
Sep 25, 2026
Merged

wgqqqqq merged 1 commit into
mainfrom
wgq/fix-1.0.2-macos-link

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

The macOS desktop release linker uses -nodefaultlibs, so Objective-C @available checks in the ScreenCaptureKit bridge emit an unresolved ___isPlatformVersionAtLeast symbol. Replace those checks with an NSProcessInfo runtime version helper, preserving the explicit unsupported-version behavior while keeping the bridge linkable for both macOS architectures. Adds a packaging regression assertion.

@wgqqqqq
wgqqqqq merged commit ded8183 into main Sep 25, 2026
14 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