Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

passbook works on IOS and MacOS, but generates: Failed to process the pkpass file. #24

Open
Henner opened this issue Sep 11, 2024 · 3 comments

Comments

@Henner
Copy link

Henner commented Sep 11, 2024

our pass generates the following error:
Failed to process the pkpass file.

It opens fine on all iOS devices and MacOS preview.

Whats wrong?
File renamed as zip
ticket.zip

@tomasmcguinness
Copy link
Owner

Let me have a look.

@Vesli
Copy link

Vesli commented Feb 4, 2025

I have a similar issue, however mine fails to open on any devices but the validator shows "Failed to process the pkpass file." Which doesn't help much.

Sharing mine as well to follow on this ticket

vcard.zip

@tomasmcguinness
Copy link
Owner

@Henner The issue with your pass.json file is that it appears to contain a strange leading character after it's read from the file.

Image

This prevents my code from reading the JSON. I don't know if that's the BOM at the start of a UTF-8 or what.

@Vesli Your issues is related to your certificates. My validator couldn't open your signature file because the certificate signing change wasn't what was expected.

I have made this code a little more defensive, so it will open now and indicate that the code doesn't appear to be signed with the correct WWDR certificate.

Image

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

No branches or pull requests

3 participants