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.

codesign command fails by unrecognized option `--strict'

See original GitHub issue

Hi! I failed application signing by electron-osx-sign-tf@1.1.0 due to unrecognized option --strict. codesign supports --strict option from Mac OS X 10.11 El Capitan. But, I’m using MacOS X 10.10.5 Yosemite. Does electron-osx-sign close Yosemite support since merging the following pull request? https://github.com/electron-userland/electron-osx-sign/pull/91/files

  • a part of output
Sign failed:
Exit code: 2. Command failed: codesign --verify --deep --strict --verbose=2 pack/osx/my-darwin-x64/my.app
codesign: unrecognized option `--strict'
Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign
       codesign -v [-v*] [-R testreq] path|[+]pid ... # verify
       codesign -d [options] path ... # display contents
       codesign -h pid ... # display hosting paths

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sethlucommented, Nov 30, 2016

#110 merged. Before a next release is published, the patch may be tested from installing the latest module: npm install -g github:electron-userland/electron-osx-sign.

Thanks to @KazuyaHayashi @McPo @aaronfalloon @Eugeny for your contributing in this issue!

1reaction
Eugenycommented, Nov 28, 2016

It’s require('os').release().

El Capitan is "15.0.0". See https://en.wikipedia.org/wiki/Darwin_(operating_system) for others.

Read more comments on GitHub >

github_iconTop Results From Across the Web

codesign command fails by unrecognized option `--strict' #103
Hi! I failed application signing by electron-osx-sign-tf@1.1.0 due to unrecognized option --strict. codesign supports --strict option from ...
Read more >
codesign: unrecognized option `--entitlem… - Apple Community
I am getting this error and not even the Dev center help desk people can figure it out, I have reinstalled xcode and...
Read more >
Only one app error: Command /usr/bin/codesign failed with ...
There has no same certificate in the Keychain Access.I built a new app, it can runs in the device with the same certificate....
Read more >
xCode 11 Passkit Framework bundle format unrecognized ...
Passkit Framework bundle format unrecognized, invalid, or unsuitable. Command CodeSign Failed with a non exit code.
Read more >
Getting the following error when importing Darwin or Foundation in ...
Hi, I keep getting this error when trying to import Darwin or Foundation using ... If you add more -v options to 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