w0lfschild / cDock-Issue-Tracker

:cake: Enhanced dock customization for macOS
https://cdock.macenhance.com
366 stars 29 forks source link

Installing on a new M1 mac I see the injector crashing with Symbol not found - _mach_inject_bundle_pid #321

Closed gesheph closed 2 years ago

gesheph commented 2 years ago

Hi there - I had appended this to an older issue but wonder if that is right.

Installing on a new M1 mac I see the injector crashing with Symbol not found - _mach_inject_bundle_pid

Process: com.macenhance.cDock.Injector [2216] Path: /Library/PrivilegedHelperTools/com.macenhance.cDock.Injector Identifier: com.macenhance.cDock.Injector Version: 0.2 Code Type: ARM-64 (Native) Parent Process: launchd [1] Responsible: com.macenhance.cDock.Injector [2216] User ID: 0

Date/Time: 2021-10-27 10:26:41.121 +0100 OS Version: macOS 11.6.1 (20G224) Report Version: 12 Anonymous UUID: 7A02004D-ADE4-3F1C-DA29-68AC14FE4E9F

Time Awake Since Boot: 1000 seconds

System Integrity Protection: disabled

Crashed Thread: 1 Dispatch queue: com.apple.NSXPCConnection.user.com.macenhance.cDock.Injector.2102

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message: Symbol not found: _mach_inject_bundle_pid Referenced from: /Library/PrivilegedHelperTools/com.macenhance.cDock.Injector Expected in: flat namespace

gesheph commented 2 years ago

cdock is installing the framework OK but having done so the injector is not finding the symbol. The symbol is present in the framework library as expected: .# pwd /System/Volumes/Data/Library/Frameworks/mach_inject_bundle.framework .# nm -a mach_inject_bundle | grep bundle_pid 00000000c000149d T _mach_inject_bundle_pid

What's missing here ?

gesheph commented 2 years ago

Solved in latest pinned Beta