lihaoyun6 / AirBattery

Get the battery usage of all your devices on your Mac and put them on the Dock / Menu Bar / Widget! && 在Mac上获取你所有设备的电量信息并显示在Dock / 状态栏 / 小组件上!

Home Page:https://lihaoyun6.github.io/airbattery/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIP Issue

c22dev opened this issue · comments

If SIP is disabled (csrutil disable), the app doesn't launch at all from it's LaunchAgents plist and even by launching the app manually.

Here is the log I obtain by launching it using lldb

Process 6821 launched: '/Applications/AirBattery.app/Contents/MacOS/AirBattery' (arm64)
⚙️ Launch AirBattery at login = true
ℹ️ Start scanning BLE devices...
ℹ️ Start scanning Magic devices...
ℹ️ Start scanning iDevice devices...
Process 6821 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_GUARD (code=2305845208236993283, subcode=0x0)
    frame #0: 0x00000001909d8cc4 libsystem_kernel.dylib`_kernelrpc_mach_port_deallocate_trap + 8
libsystem_kernel.dylib`_kernelrpc_mach_port_deallocate_trap:
->  0x1909d8cc4 <+8>: ret

libsystem_kernel.dylib`_kernelrpc_mach_port_mod_refs_trap:
    0x1909d8cc8 <+0>: mov    x16, #-0x13 ; =-19
    0x1909d8ccc <+4>: svc    #0x80
    0x1909d8cd0 <+8>: ret
Target 0: (AirBattery) stopped.