取り急ぎメモ。自分用。それでもいい人は適当に見てね
これを参考に。
rootlessが原因。。。らしい
rootlessがOSX El Capitanから導入されるのは有名ですが、その影響でSIMBLがつかえねーよという話。
とりあえず必要なところを引用
I confirmed that original SIMBL-0.9.9 placed at
/System/Library/ScriptingAdditions/
works on SIP enabled OS X 10.11 (15A204h).Steps of installing SIMBL-0.9.9:
1. Disable SIP bysudo nvram boot-args="rootless=0"
and reboot.
2. Run following on terminal for installing SIMBL-0.9.9 at/System/Library/ScriptingAdditions/
sudo installer -verbose -pkg Downloads/SIMBL-0.9.9.pkg -target / sudo rm -rf /System/Library/ScriptingAdditions/SIMBL.osax sudo mv /Library/ScriptingAdditions/SIMBL.osax /System/Library/ScriptingAdditions/ sudo cp -p /System/Library/ScriptingAdditions/SIMBL.osax/Contents/Resources/SIMBL\ Agent.app/Contents/Resources/net.culater.SIMBL.Agent.plist /System/Library/LaunchAgents/ sudo sed -e "s/Library/System\/Library/" -i "" /System/Library/LaunchAgents/net.culater.SIMBL.Agent.plist3. Enable SIP by
sudo nvram -d boot-args
and reboot.After above steps,
Plugins placed at/Library/Application Support/SIMBL/Plugins
will be loaded by SIMBL.SafariStand built by myself of hetima/SafariStand@53b1e5b works on Safari 9.0 (11601.1.35.2) with above setup.
Notes:
- Original
SIMBL Agent.app
does not support injecting into process that launched beforeSIMBL Agent.app
. VerifySIMBL Agent.app
is running before launching target app.- If plugins does not work, check opened files of target app process using
Activity Monitor.app
. If plugin is listed in the opened files, plugin will need updating to support OS X 10.11. (Yes, SafariStand needed.)SIMBL.osax
does not require codesign.- plugins does not require codesign.
- plugins does not require owned by root.
/System/Library/LaunchAgents/net.culater.SIMBL.Agent.plist
requires owned by root.Added following on 2015/07/02:
~/Library/Application Support/SIMBL/Plugins
also works for non-sandboxed apps.Edited on 2015/07/05:
- Separate enabling SIP to 3. on “Steps of installing SIMBL-0.9.9”
OK?faviconがなぜかつかないとか不具合あるけど有効化できた。
ちょっと詰まったことを書いておく。
- SIMBL 0.9.9.pkgを用意しておく。もう入れてる人も再インストールしたほうがいいかも知らない。(El Capitanのみ)
- SIMBLはユーザーフォルダのPluginsを優先的に見る。safariはサンドボックス化されていないのでSafariStandは/Library/Application Support/SIMBL/Pluginsに置くように。
- safaristandのバージョンは8.0.214が動いた。それ以前は動かないから注意。
- これは10.10.4からだけどEasySIMBLが使えない。その場合はhttps://gist.github.com/hetima/51b71091aedf622f61f7を見たほうがいい。アンインストールが日本語で載ってるよ
- rootlessは今後オンオフが容易にできなくなるらしい