1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 03:01:38 +03:00

GH-768 Do not force re-sign NvimServer

When coc.nvim is installed, EXC_BAD_ACCESS (Code Signature Invalid)
occurs and NvimServer crashes. We force re-signed NvimServer on Mojave
because the notarization did not work (for whatever reason), but on
Catalina, the notarization works without re-signing. And without
re-signing, the crash does not occur.
This commit is contained in:
Tae Won Ha 2020-01-24 17:48:15 +01:00
parent fbd19d75f3
commit 765f2c43d7
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -91,9 +91,9 @@ echo "### VimR archive file name: ${vimr_file_name}"
echo "### Notarizing"
pushd ./build/Build/Products/Release > /dev/null
codesign \
--force -s "Developer ID Application: Tae Won Ha (H96Q2NKTQH)" --timestamp --options=runtime \
VimR.app/Contents/Frameworks/NvimView.framework/Versions/A/PlugIns/NvimServer
# codesign \
# --force -s "Developer ID Application: Tae Won Ha (H96Q2NKTQH)" --timestamp --options=runtime \
# VimR.app/Contents/Frameworks/NvimView.framework/Versions/A/PlugIns/NvimServer
ditto -c -k --keepParent VimR.app VimR.app.zip
echo "### Uploading"
export readonly request_uuid=$(xcrun \