vovkasm / input-source-switcher

Command line input source switcher for Mac.
MIT License
139 stars 11 forks source link

Code signature problem #7

Open Gim6626 opened 4 years ago

Gim6626 commented 4 years ago

I've built util using instructions from repo description, added

let g:XkbSwitchEnabled = 1
let g:XkbSwitchLib = '/usr/local/lib/libInputSourceSwitcher.dylib'

to ~/.vim/vimrc and now get error while opening Vim:

"~/.vim/vimrc" 9L, 188C
Error detected while processing function airline#extensions#xkblayout#status:
line    1:
dlerror = "dlopen(/usr/local/lib/libInputSourceSwitcher.dylib, 0x0005): code signature in (/usr/local/lib/libInputSourceSwitcher.dylib) not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed."
Gim6626 commented 4 years ago

Found that if I delete vim-airline plugin, Vim opens correctly but does not work auto keyboard layout switching does not work.