tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
908 stars 187 forks source link

Can't Open pkpass #68

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi, I've follow all the instruction and already generated the .p12 file, but I still get this following error at my macbook console after I tried to open the .pkpass file on my iPhone. My pass ID and Team ID is right, and I've already generate the .p12 file.

Error Log: Invalid data error reading card pass.com.test.example/serial_number. The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified.

tschoffelen commented 7 years ago

This would indicate that the P12 file was generated incorrectly. Sometimes going through that process again makes it magically works – Apple certificates are a complicated matter...

Also make sure that the password you use to export the certificate is the same you use at the top of the script, if any.

Sorry I can't give any more specific advice!

ghost commented 7 years ago

Thank you so much, finally it's worked as I generated the P12 again.

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.