This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
Code sign fails #66
Closed
Description
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