tschoffelen / php-pkpass

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

it doesn't working in ios #84

Closed iamabhyas closed 5 years ago

iamabhyas commented 5 years ago

Expected Behavior

.pkpass file working in android good but in ios does not work.

tschoffelen commented 5 years ago

Hi,

That usually means that the certificate that you're using to sign your pass isn't valid. Android apps don't check if the pass is valid and just display it, while iOS only displays the pass if it is signed with a valid signature.

  1. Signing your passes for use in iOS Wallet requires an active, paid Apple Developer account.
  2. Make sure to check if you completed all the steps to request, download and add the certificate.
  3. Make sure you have specified the correct passTypeIdentifier, teamIdentifier and certificate path and password in your code.
  4. If none of these things seem to help, connect your iPhone to a Mac and check the Console app for error messages.

The library has been successfully verified to work with all iOS versions from iOS 6 and up, as long as you sign it with a valid certificate and team identifier.

Please open a new issue if the above steps fail and if you have a specific error message.

iamabhyas commented 5 years ago

Thank you so much Thomas Schoffelen.

lock[bot] commented 5 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.