apple-platform-rs icon indicating copy to clipboard operation
apple-platform-rs copied to clipboard

pkg signing error

Open turalf opened this issue 1 year ago • 0 comments

While signing a package file I get this error. This is the command I use:

rcodesign sign --p12-file installer.p12 --p12-password-file ./.certificate-password test.pkg ./test-out.pkg

And I get this error:

signing test.pkg to ./test-out.pkg signing XAR pkg installer at test.pkg to ./test-out.pkg.tmp Error: XAR error: XML error: custom: unknown field id, expected one of name, offset, size, length, extracted-checksum, archived-checksum, encoding

The command is run on "Debian GNU/Linux 12 (bookworm)"

That is how I created the test.pkg file on macOS 14.4.1

mkdir test-pkg echo "echo test" > test-pkg/echoer pkgbuild --identifier test.pkg --root ./test-pkg ./test.pkg

turalf avatar Apr 19 '24 18:04 turalf