On macOS Big Sur, after codesign Xcode and try to login to my account, got "Couldn’t communicate with a helper application" · Issue #340 · XVimProject/XVim2

Before codesigning, signing into my account worked normally, but after codesign it kept showing the "Couldn’t communicate with a helper application" error - I've tried restarting, delete Xcode and ...