Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Code sign fails #66

Closed
leanderlee opened this issue May 4, 2017 · 8 comments
Closed

Code sign fails #66

leanderlee opened this issue May 4, 2017 · 8 comments

Comments

@leanderlee
Copy link

I cannot package this binary into my app, because the binary cannot be codesigned by XCode.
This works on other binaries and files, so there must be an issue specifically around the binaries that pkg creates.

To reproduce, create a simple index.js with console.log('Hello world').

pkg -t node7-darwin index.js -o test

The resulting binary cannot be code signed.

$ codesign -vvvv --force --sign '<apple developer identity>' ./test
./test: main executable failed strict validation
@leanderlee
Copy link
Author

Might be related, this is seemingly an issue with a python packager: https://github.com/pyinstaller/pyinstaller/wiki/Recipe-OSX-Code-Signing#pyinstaller-fix-implementation

@awci
Copy link

awci commented Jun 21, 2018

Is there any update on this issues ?

@Nantris
Copy link

Nantris commented Sep 17, 2018

Any update here? Is this still an issue?

@Nantris
Copy link

Nantris commented Sep 17, 2018

It is indeed still an issue. That's majorly disappointing.

@wangsijie
Copy link

Any update?

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

@github-actions github-actions bot added the Stale label May 15, 2021
@github-actions
Copy link

This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.

@jesec
Copy link
Contributor

jesec commented May 21, 2021

This issue has been resolved by 0b55f9a .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants