дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 10:07:11 +02:00
When the system WebKit predates Safari 15.4 (macOS 11, and 12 before 12.3) and Safari's update has staged a newer WebKit, main re-execs once with DYLD_FRAMEWORK_PATH pointing at the staged frameworks and clears it again in the second process, so child processes keep the system frameworks. macOS 12.3+ and 13+ keep the system engine without a restart; an unreadable system version also keeps it. - Entitlements: allow-dyld-environment-variables only; library validation stays on (the staged framework is Apple-signed). - Bundle and link minimum back to 11.0 so Launch Services opens the app on Big Sur; .cargo/config.toml sets MACOSX_DEPLOYMENT_TARGET as a default a developer can override. - The staged copy is checked with a stat before the system version is read, so current macOS never spawns defaults at startup. - Debug builds skip the bindings export when the build checkout is absent. - Boot error page, install and contributor docs describe the Big Sur case. Tested by the contributor on macOS 11.7.11 (Safari 16.6.1 staged) and 26.5; by us on macOS 15.7.8 (no re-exec). Co-authored-by: qq471754603 <[email protected]>
8 рядки
395 B
TOML
8 рядки
395 B
TOML
# Link debug builds for the oldest system we support, so Launch Services
|
|
# accepts the bundle on macOS 11. Without this a newer SDK leaves
|
|
# LC_BUILD_VERSION.minos at 12.0 and the app is refused (-10825) before main
|
|
# can load a newer WebKit. An explicitly exported MACOSX_DEPLOYMENT_TARGET
|
|
# still wins: this is only the default for local builds and CI.
|
|
[env]
|
|
MACOSX_DEPLOYMENT_TARGET = "11.0"
|