Changes between Initial Version and Version 1 of WebKitNightlyElCapWorkaround


Ignore:
Timestamp:
Oct 20, 2015 10:20:28 AM (8 years ago)
Author:
timothy@apple.com
Comment:

Initial workaround steps.

Legend:

Unmodified
Added
Removed
Modified
  • WebKitNightlyElCapWorkaround

    v1 v1  
     1With the introduction of OS X El Capitan and the System Integrity Protection security feature, WebKit nightlies no longer work. They still launch, but the latest WebKit frameworks included inside are ignored and the system version of WebKit is used. This is because our use of DYLD_FRAMEWORK_PATH is ignored when launching the system Safari (specifically the SafariForWebKitDevelopment binary in the Safari app bundle). We are preparing a fix for this in a Safari update, but until then you can apply the following workaround.
     2
     3//'''Note:''' This workaround is not for the faint of heart, and requires you to run commands will booted into the system recovery partition. Proceed with caution.//
     4
     5=== Steps ===
     61. Print out this page or load it up on a different computer for reference.
     72. Reboot the machine you want to apply the workaround to with the //Option// key held down.
     83. Select the //10.11-Recovery// disk and click the arrow to continue booting.
     94. When the //Mac OS X Utilities// window appears, select the //Utilities// menu in the menubar and pick //Terminal//.
     105. In the //Terminal// window, type: `cd /Volumes && ls -l`
     116. Find the name of your main disk, it is usually something like //Macintosh HD//.
     127. Type: `cd "Macintosh HD"` (or whatever name you disk is called).
     138. Type: `mkdir -p "Library/Application Support/Apple/Safari"`
     149. Then type: `cp "Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment" "Library/Application Support/Apple/Safari/SafariForWebKitDevelopment"`
     1510. Finally type: `ln -sf "/Library/Application Support/Apple/Safari/SafariForWebKitDevelopment" "Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment"`
     1611. Now you can select //Restart// from the  menu.
     17
     18The WebKit nightlies should work as expected after you restart. This workaround will persist and not interfere with future software updates, so there is no need to revert it later.