Skip to content

liteide: drop dyld environment variable entitlement - #1380

Merged
visualfc merged 1 commit into
masterfrom
fix/macos-dyld-entitlements
Nov 14, 2026
Merged

visualfc merged 1 commit into
masterfrom
fix/macos-dyld-entitlements

Conversation

@visualfc

Copy link
Copy Markdown
Owner

Summary

  • Remove com.apple.security.cs.allow-dyld-environment-variables from the macOS entitlements.
  • Keep Hardened Runtime signing so emoji painting still works on Apple Silicon.
  • Document why DYLD injection is left disabled: Qt Creator's DYLD_* still trips ImageIO, and Qt is linked by absolute Homebrew paths.

Test plan

  • Build LiteIDE on Apple Silicon macOS.
  • Confirm the app still launches after ad-hoc codesign with Hardened Runtime.
  • Open a file that contains emoji and confirm paintEvent does not crash.
  • Launch from Qt Creator and confirm ImageIO no longer fails because of injected DYLD_*.

Qt Creator injects DYLD_* which still trips ImageIO on Apple Silicon
even with Hardened Runtime. Qt is linked by absolute Homebrew paths,
so DYLD is not needed.
@visualfc
visualfc merged commit e3948e5 into master Nov 14, 2026
12 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