RESOLVED FIXED275207
run-webkit-app command not able to set DYLD_FRAMEWORK_PATH under SIP enabled environment.
https://bugs.webkit.org/show_bug.cgi?id=275207
Summary run-webkit-app command not able to set DYLD_FRAMEWORK_PATH under SIP enabled ...
Jinyu Meng
Reported 2024-06-06 05:33:01 PDT
Created attachment 471609 [details] Patch to fix this bug I'm trying to use the run-webkit-app command to run a demo app with self-built WebKit on macOS. But the app is still using the system one. The WebKit I built is not showing under "Open Files and Ports" in the "Activity Monitor". You can check this thread for more information: https://bugs.webkit.org/show_bug.cgi?id=274818 After some hints from Alexey Proskuryakov, I managed to fix this bug by passing $ENV to the "open" command with some "--env" arguments. The reason is "open" command couldn't keep environment variables while SIP is enabled. I will post a PR on GitHub later to fix this bug.
Attachments
Patch to fix this bug (1.62 KB, patch)
2024-06-06 05:33 PDT, Jinyu Meng
no flags
Jinyu Meng
Comment 1 2024-06-06 07:18:29 PDT
EWS
Comment 2 2024-06-07 11:22:19 PDT
Committed 279822@main (34e6542dbf34): <https://commits.webkit.org/279822@main> Reviewed commits have been landed. Closing PR #29578 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-06-07 11:23:48 PDT
Note You need to log in before you can comment on or make changes to this bug.