untoldwind / alfred2-layout

Alfred 2 Layout workflow
http://untoldwind.github.io/projects/alfred2-layout.html
199 stars 16 forks source link

[fix] quick and dirty fix to work around error on macOS Mojave #23 #24

Closed melbow closed 5 years ago

melbow commented 5 years ago

Calling get previously threw up this error:

ERROR PerlObjCBridge:: sendObjcMessage: Can't get NSMethodSignature for message get ERROR PerlObjCBridge: error [1] sending message [NSObject get] at /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/PerlObjCBridge.pm line 248.

[theory] it seems that, since mojave, PerlObjCBridge tries to look up 'get' method signature on NSObject instead of SBObject,

melbow commented 5 years ago

Haven't tested this on any other OSes than Mojave btw Just tested on 10.12 (Sierra) - seems to still be fine with these changes