rugarciap / Turbo-Boost-Switcher

Turbo Boost disabler / enable app for Mac OS X
GNU General Public License v2.0
1.48k stars 146 forks source link

Does not work on mac big sur 11.4, Error Domain=KMErrorDomain Code=31 #168

Closed midaug closed 3 years ago

midaug commented 3 years ago

sudo /Applications/Turbo\ Boost\ Switcher.app/Contents/MacOS/Turbo\ Boost\ Switcher

Defaulting to kernel file '/System/Library/Kernels/kernel' Executing: /usr/bin/kmutil load --bundle-path /Applications/tbswitcher_resources/DisableTurboBoost.64bits.kext Error Domain=KMErrorDomain Code=31 "Error occurred while building a collection: in '/Library/StagedExtensions/Library/Extensions/endpointKbase.kext/Contents/MacOS/endpointKbase' missing TEXT segment" UserInfo={NSLocalizedDescription=Error occurred while building a collection: in '/Library/StagedExtensions/Library/Extensions/endpointKbase.kext/Contents/MacOS/endpointKbase' missing TEXT segment}

rugarciap commented 3 years ago

Hi,

The issue is not with the app extension, is with another one: endpointKbase.kext

macOS doesn't rebuild kext cache if any extensions fails to load, and that one has some issues as you can see in the log.

Best.

midaug commented 3 years ago

I am not sure about the purpose of endpointKbase.kext, it appeared after upgrading to big sur 11.4