passbook works on IOS and MacOS, but generates: Failed to process the pkpass file.
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
Let me have a look.
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
@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.
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.
Thats a BOM and is valid for UTF files. Removing it works, but it should even work with.