macdown icon indicating copy to clipboard operation
macdown copied to clipboard

Software update fails

Open kneden opened this issue 7 years ago • 3 comments

Tried to install the 0.7.2 update via software update feature and it failed. This was with version 0.7.1 on macOS 10.14.6.

After MacDown downloads and extracts the update, I clicked the "Install and Relaunch" button and then an "Update Error!" dialog is displayed:

MacDownUpdateFailed

Here are some logs from Console that appeared just after clicked "Install and Relaunch" that I think are relevant:

default	13:35:01.811452 -0500	MacDown	CSSM Exception: -2147415792 CSSMERR_CSP_INVALID_KEY
default	13:35:01.837421 -0500	securityd	CSSM Exception: -2147415734 CSSMERR_CSP_VERIFY_FAILED
default	13:35:01.838210 -0500	securityd	CSSM Exception: -2147415734 CSSMERR_CSP_VERIFY_FAILED
default	13:35:01.838704 -0500	MacDown	CSSM Exception: -2147415734 CSSMERR_CSP_VERIFY_FAILED

I suspect it has something to do with the signing of the update.

$ spctl --assess ~/Library/Caches/com.uranusjr.macdown/Sparkle/MacDown\ 1008/MacDown.app
/Users/kneden/Library/Caches/com.uranusjr.macdown/Sparkle/MacDown 1008/MacDown.app: a sealed resource is missing or invalid

kneden avatar Dec 03 '19 19:12 kneden

I went a step further, and attempted to reinstall the Homebrew version of 0.7.2, and now, all I get is:

"MacDown.app" is damaged and can't be opened. You should move it to the Trash. 😢

image

lefte avatar Dec 03 '19 21:12 lefte

Update. After searching other issues in this repo, I discovered a fix for reinstalling: sudo xattr -r -d com.apple.quarantine /Applications/MacDown.app/ which removes the Apple quarantine on MacDown, letting it open. Good luck!

lefte avatar Dec 03 '19 21:12 lefte

Duplicate of #1106

FranklinYu avatar Dec 03 '19 23:12 FranklinYu