TotalFinder not working on Mojave 10.4.2 after SIP-Fix

after being bugged for the 1000th time on Mojave 10.14.1 (18B75) I finally used the SIP-fix (https://totalfinder.binaryage.com/sip) .

But after Reboot, clicking on TotalFinder in applications does not launch the program.

RAS

Did you just copy my post :-DD

Whatever, if you got a solution let me know :wink:

First, please try to uninstall TotalFinder completely and then install it from scratch:
https://totalfinder.binaryage.com/uninstallation

Second, enable debugging of TotalFinder injection via a Terminal command. See it here:

I would like to see the logs.

Are you using a beta of Mojave 10.14.2?

Hi there, here’s my system info, I don’t really recall if it was a beta version, maybe the version number clears that up?

Überblick über die Systemsoftware:

Systemversion: macOS 10.14.1 (18B75)
Kernel-Version: Darwin 18.2.0

Hi Darwin, thanks for replying, this is what “tail” command gave me back until I force closed the process, I hope it makes any sense:

target app is <NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #10)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BBTFinit»"

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #12)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd7147e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd7147e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #13)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #14)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd550720 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd550720 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #15)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd550720 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd550720 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BATFinit»"

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd452af0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd452af0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #17)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #18)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #19)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd551440 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd551440 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #20)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd50d5a0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BBTFinit»"

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd71ee10 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd71ee10 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #22)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #23)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f4e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f4e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #24)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f4e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f4e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #25)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BATFinit»"

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #27)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #28)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #29)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #30)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd629420 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd629420 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BBTFinit»"

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd629840 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd629840 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #32)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #33)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #34)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4be903500 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4be903500 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #35)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BATFinit»"

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd629840 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd629840 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #37)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f2e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #38)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #39)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd42f4e0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd42f4e0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #40)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BBTFinit»"

applicationLaunched:<NSRunningApplication: 0x7fd4bea03cc0 (com.apple.ActivityMonitor - 9401)>

it is not Finder (com.apple.ActivityMonitor != com.apple.finder) => ignore

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #42)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd629840 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd629840 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #43)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd43a8c0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd43a8c0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #44)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd5514d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #45)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd43a8c0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd43a8c0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BATFinit»"

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #47)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4be800490 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4be800490 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #48)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd43a8c0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd43a8c0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #49)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BBTF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd7149d0 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd7149d0 (com.apple.finder - 9372)>(terminated=0, pid=9372)

sending injection events to Finder[9372] bundleID=com.apple.finder (trial #50)

~~> <NSAppleEventDescriptor: 'ascr'\'gdut'{ }>

~~> <NSAppleEventDescriptor: 'BATF'\'init'{ }>

trying to acquire TotalFinder shell lock

target apps (

"<NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>"

)

target app is <NSRunningApplication: 0x7fd4bd551390 (com.apple.finder - 9372)>(terminated=0, pid=9372)

launching shell command: osascript -e "tell application \"Finder\" to «event BBTFinit»"

Thanks. That means that TotalFinder is not able to send Apple Events to Finder.app.

What is your output from csrutil status?
Also please double check System Preferences -> Security & Privacy -> Privacy -> Automation
TotalFinder should be listed there and should have enabled access to Finder.app.

Hi there,

csrutil gives me this:

Configuration:
Apple Internal: disabled
Kext Signing: enabled
Filesystem Protections: enabled
Debugging Restrictions: disabled
DTrace Restrictions: enabled
NVRAM Protections: enabled
BaseSystem Verification: enabled

This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.
(Do I want to know what this implies?)

The automation is checked for system events and finder.

The the problem is that you have Filesystem Protections enabled. You have to reboot to recovery OS and change csrutil to fully disabled as described in [1] or follow this article [2] if you want minimal custom SIP config.

[1] https://totalfinder.binaryage.com/sip#mark-in-the-window-that-opens-type-csrutil-disable-and-press
[2] https://blog.binaryage.com/sip-and-mojave

Hi darwin, yep, that’s what I did to get rid of any warnings, since then the system doesn’t let TotalFinder start. Hence the title ([TotalFinder not working on Mojave 10.4.2 after SIP-Fix])

Ok, please follow the gist below and send me your diagnostics report to support@binaryage.com:
https://gist.github.com/darwin/aad9b3f0eca7761c3e72d13e85496134

Thanks! I just did that and sent it over.

Just for record. The issue was that SIP was partially enabled (custom configuration). Specifically csrutil status was reporting Filesystem Protections: enabled.