Skip to content
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
Closed
@leanderlee

Description

@leanderlee

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions