Skip to content

[codex] Fix macOS desktop source builds#58

Merged
ddtcorex merged 1 commit into
ddtcorex:masterfrom
tuanhaviet22:codex/fix-macos-source-desktop-link
Jun 24, 2026
Merged

[codex] Fix macOS desktop source builds#58
ddtcorex merged 1 commit into
ddtcorex:masterfrom
tuanhaviet22:codex/fix-macos-source-desktop-link

Conversation

@tuanhaviet22

Copy link
Copy Markdown
Contributor

Summary

  • add a darwin desktop cgo linker shim for UniformTypeIdentifiers
  • make source installs inject the same framework when building govard-desktop on macOS

Root cause

Wails references Apple's UTType API on macOS, but the source desktop build did not link the UniformTypeIdentifiers framework, causing undefined symbol errors during the final arm64 link step.

Validation

  • bash -n install.sh
  • go build -tags "desktop production" -o /tmp/govard-desktop-test ./cmd/govard-desktop/main.go

@ddtcorex ddtcorex marked this pull request as ready for review June 24, 2026 07:07
@ddtcorex ddtcorex self-requested a review as a code owner June 24, 2026 07:07
@ddtcorex ddtcorex merged commit af15234 into ddtcorex:master Jun 24, 2026
7 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.

2 participants