Toxblh / MTMR

🌟 [My TouchBar My rules]. The Touch Bar Customisation App for your MacBook Pro
https://mtmr.app
MIT License
4.21k stars 219 forks source link

Unable to launch on macOS 10.12.6 #196

Open dsdshcym opened 5 years ago

dsdshcym commented 5 years ago

After I upgrade to 10.12.6, the app cannot launch. Here is the exception I found in Console.app:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber identifier]: unrecognized selector sent to instance 0x1'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff537d22fd __exceptionPreprocess + 256
    1   libobjc.A.dylib                     0x00007fff7dea3a17 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff5384c106 -[NSObject(NSObject) __retain_OA] + 0
    3   CoreFoundation                      0x00007fff5377418f ___forwarding___ + 1485
    4   CoreFoundation                      0x00007fff53773b38 _CF_forwarding_prep_0 + 120
    5   AppKit                              0x00007fff50e601b0 -[NSTouchBar itemForIdentifier:] + 1174
    6   AppKit                              0x00007fff5177ad59 -[NSTouchBar items] + 311
    7   AppKit                              0x00007fff512ad327 -[NSTouchBarViewController _expandBars:] + 323
    8   AppKit                              0x00007fff512ada84 -[NSTouchBarViewController _u<…>
image
Toxblh commented 5 years ago

I saw same - soon will fix. Now I didn't understand what it is.

Toxblh commented 5 years ago

OK I found the cause - temporary solution - disable nightShift widget from you preset (~/Library/Application\ Support/MTMR/items.json) should be work. As found how to fix will be released patch

dsdshcym commented 5 years ago

disable nightShift widget from you preset (~/Library/Application\ Support/MTMR/items.json)

Thank you! I can confirm that it did work. 🙏

unbreakableglass commented 5 years ago

I really need nightshift button in this. May I expect a fix soon?