RogueAmoeba / Soundflower-Original

MacOS system extension that allows applications to pass audio to other applications.
https://github.com/Cycling74/Soundflower
MIT License
1.27k stars 146 forks source link

macos10.15 cannot have it installed. It fails installation. #103

Open ShikiSuen opened 4 years ago

ShikiSuen commented 4 years ago

This is a different issue comparing to https://github.com/RogueAmoeba/Soundflower-Original/issues/96

I migrated my macOS 10.15.4 Catalina from Mac Pro 2013 to a new Mac mini 2018. All kexts are auto-disabled. Soundflower kext driver doesn't come to the System Security Preferences to allow me to allow it. I tried re-running the installer, installation fails; tried uninstall it completely and then install it again, the installer still fails during the installation step, saying that I need to ask the software vendor for assistance.

ShikiSuen commented 4 years ago

P.S.: I am fully aware that Soundflower is a driver-only installation.

wangzhe3224 commented 4 years ago

me neither..

mjbaldwin commented 4 years ago

I encountered the same problem today -- at the end of installation after "Validating packages" it says "The installation failed". I also tried running the installer on the command line to see if I could get a more detailer error, and it gave me:

% sudo installer -pkg Soundflower.pkg -target /
Password:
installer: Package name is Soundflower
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “Soundflower.pkg”.)
blackyboy commented 4 years ago

hitting with the same error

ShikiSuen commented 4 years ago

Update: I hacked mattin's latest pkg package and found the latest content of the post-installation script as follows:

image

Let me test whether "not touching /Library/Extensions" will work with this case.

ShikiSuen commented 4 years ago

Ladies and Gentlemen, this is the error output during post-installation when executing kextload:

Last login: Sun Jun 14 09:52:40 on ttys000
> /Library/Extensions ||||| sudo kextload /Library/Extensions/Soundflower.kext

/Library/Extensions/Soundflower.kext failed to load - (libkern/kext) system policy prevents loading; check the system/kernel logs for errors or try kextutil(8).

system.log:

Jun 14 10:01:02 macMini-ShikiSuen com.apple.xpc.launchd[1] (homebrew.mxcl.unbound[95079]): Service exited with abnormal code: 1
Jun 14 10:01:02 macMini-ShikiSuen com.apple.xpc.launchd[1] (homebrew.mxcl.unbound): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
ShikiSuen commented 4 years ago

At this point, the issue is related to how the kext will be written to handle the Service exited with abnormal code: 1 error. This is far from my ability range.

Calling @mattingalls for help.

ShikiSuen commented 4 years ago

Temporary workaround (steps): (Notice to Japanese users: 解決方法でなく、一時的の応対方法です。)

1) Logging into macOS Recovery mode (and log in your macOS admin account if prompted). 2) Open terminal and run spctl kext-consent add 3G47DU9NXM and reboot your machine. 3) Reboot back to the macOS and run the Installer again. -- If prompts for kernel extension permission, approve it. -- If not (or failed), go to System Preferences and manually approve all kexts from @mattingalls, and then run installer again if necessary. // Previously, his kexts are not shown in the approvable list. However, the terminal command executed in the Recovery OS made his kexts approvable now.

This should be good for all T2-equipped mac computer models.


Note that the 3G47DU9NXM indicates the development team certificate used in the kext file.

andrzejg commented 1 year ago

Before going through Recovery Mode, after failed install it's worth trying System Preferences -> Security & Privacy -> tab General, and "Allow software from developer XXXXX" More: http://kb.mit.edu/confluence/display/istcontrib/Approving+Kernel+Extensions+for+macOS