question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache on 20.43.0

See original GitHub issue
  • Version: 20.43.0
  • Target: MacOS

Sign verification fails for MacOS on v20.43.0.

To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
  • rebuilding native production dependencies platform=darwin arch=x64
  • packaging       platform=darwin arch=x64 electron=5.0.2 appOutDir=.....
  • signing         file=/../../..app identityName=Mac Developer: .... (....) identityHash=... provisioningProfile=none
Error: Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache /../../..app
.....app: rejected

The build passes with no issues on v.20.41.0.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:38
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

24reactions
agungsetyawancommented, Jun 18, 2019

try to ‘spctl --master-disable’

7reactions
imrickywongcommented, Jul 31, 2019

Same problem. 20.44.4, but ‘spctl --master-disable’ solve the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

spctl fails with source=Unnotarized Developer ID
spctl --assess --verbose=4 --type execute $mntpointApp. Our build machine (macOS 10.13.6, Xcode 10.1) executes these commands without failure.
Read more >
Error: Command failed: spctl --assess - ignore-cache
Error : Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache on 20.43.0.
Read more >
mac下electron-builder 签名报错,求解- SegmentFault 思否
mac下electron-builder -m• electron-builder version=20.43.0• loaded ... Error: Command failed: spctl --assess --type execute --verbose ...
Read more >
electron-userland/electron-builder (Raised $0.00) - Issuehunt
Error : Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache on 20.43.0. Unfunded#3948created byvkolova.
Read more >
Mac app notarization successful but spctl assessment rejects ...
app and submitted for Notarization. The executable, libraries and frameworks signing is done manually with the codesign command, and to sign the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found