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.
Pull request: https://github.com/WebKit/WebKit/pull/29578
Committed 279822@main (34e6542dbf34): <https://commits.webkit.org/279822@main> Reviewed commits have been landed. Closing PR #29578 and removing active labels.
<rdar://problem/129408609>