XVim2
XVim2 copied to clipboard
Use --remove-signature for getting XVim2 onto new versions of Xcode?
codesign
can be run with the undocumented --remove-signature
flag to remove the signature of Xcode. It works for me to do this to use XVim2, and it's much faster than the usual codesign
invocation in the steps. Not sure if there are any tradeoffs, security or otherwise, but it could be a nice shortcut.
How much time does it take to execute the command codesign --remove-signature Xcode.app
?
About one second
Just tried this and it seems to work for me. If a few more people can verify maybe SIGNING_Xcode.md could be updated.
Tried it and it worked the first time I opened Xcode.
However, immediately thereafter my entire computer froze...I rebooted three or four times, and opening Xcode would reliably cause the entire thing to freeze and require a hard reboot.
Signing with sudo codesign -f -s <cert>
got me back to being able to open Xcode, and with Xvim running.
Running Xcode 11.4.
Perhaps we could go with the more conservative approach, of adding --digest-algorithm=sha1
instead. This will keep code signing, but it will use sha-1, which is faster than the default sha-256. I haven't verified this myself, but if a few people try it and it works it's probably good to go.
Well, in my testing using sha-1 reduces signing time from 3 minutes to 2.5 minutes. So, not a huge win.