godly-devotion / charge-limiter

macOS app to set battery charge limit for Intel MacBooks
GNU General Public License v3.0
649 stars 28 forks source link

ChargeLimiter stops working on macOS Sierra after installing "Device Support Update"... #37

Open arcjive opened 2 years ago

arcjive commented 2 years ago

Previously was working. Recently performed a Software Update, and installed the Apple "Device Support Update" (I believe it was posted around Sept 2021, I just hadn't checked in a while).

Since then I receive this error upon launch; The operation couldn’t be completed. (OSStatus error -192.) (null) (-192) Screen Shot 2022-03-25 at 7 14 48 pm

Previously I received this same error when attempting upgrade Charge Limiter from 1.4.1 to 1.5. Installing the Swift5 runtime package fixed it. Unfortunately now, even after re-installing the Swift5 package, NONE of the versions I used to use work either! I've tried 1.3.1, 1.4.1, and 1.5. All with the same error.

Is there anything we can check to see what's causing this? Has Apple pulled the plug on running Swift utilities on macOS Sierra...?

Thank you.

Zibroff commented 2 years ago

Hi! Is your issue resolved?

arcjive commented 2 years ago

Yes and no. I did a clean re-install of MacOS Sierra, didn't install the Apple "Device Support Update", and stuck to v1.4.1, and it works fine. If I upgrade to 1.5, or install the Device Support Update, it will break again.

Zibroff commented 2 years ago

Thanks for the flash answer!

May be sufficiently roll-back iTunes version instead re-install MacOS overall? I've the same issue after update iTunes with Device Support Update. And I'll try roll-back to previous version iTunes. Inform you later.

P.S. Sorry for my English. I'm from Ukraine.

Zibroff commented 2 years ago

@arcjive I've decide to use this CLI tool: https://github.com/zackelia/bclm

arcjive commented 2 years ago

Thank you, that looks nice and simple.