eymengunay / php-passbook

iOS passbook library for PHP
http://eymengunay.github.io/php-passbook/
MIT License
263 stars 53 forks source link

writing signature and Certificate Error #19

Closed eymengunay closed 9 years ago

eymengunay commented 10 years ago

This error was initially reported in PassbookBundle by @Numerah. Moving it here as the bug is caused by this library.

https://github.com/eymengunay/PassbookBundle/issues/3

i have generated the passbook application and when i generate passes they are working on every possible device (android ,mac) but IOS 7 iphones and above when i check iPhone utility manager it was giving me this error: Invalid data error reading pass: The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified. i have my generated certificates and i have seen green sign on the certificates and in my key chain access they are mentioned as verified certificates. there must be a mistake in writing signature or else kindly put some light on this error

Numerah commented 10 years ago

there is a problem with signing pass because when we resolve the icon2x issue its causing logo2x issue kindly update the logo 2x issue as well, and if we resolve all the image issues by including 2x version of the same image. its still giving the same error

"Invalid data error reading pass: The passTypeIdentifier or teamIdentifier provided may not match your certificate"

so i took our pass(generated and signed my passbookBundle) and convert it to test.pass folder and sign the same pass with Xcode signtool which tells me that my certificates are valid and it generated the test.pkpass file which is opening in iphone ios7

my request to you is kindly update and list all the icon logo etc which needs 2x type of the same image to be generated. and update the signing library or the bundle using it.

g- commented 9 years ago

In my experience, a pass must have an icon image in order to be valid, but it does not require an icon@2x image.