I'm using the sample code from Apple to try to create my first Wallet demo.
I'm following the Wallet Developer Guide.
After changing the passTypeIdentifier and teamIdentifier information as below.
"passTypeIdentifier" : "pass.com.*****", "teamIdentifier" : "******",
I use signpass to generate the .pkpass file. It succeeds.
But then when I run the .pkpass file, I get this error from system log.
Invalid data error reading pass pass.com.******/nmyuxofgna. The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified.
ERROR: Error Domain=PKPassKitErrorDomain Code=1 "The pass cannot be read because it isn’t valid." UserInfo={NSLocalizedDescription=The pass cannot be read because it isn’t valid., NSUnderlyingError=0x6000037e8090 {Error Domain=PKPassKitErrorDomain Code=1 "The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified." UserInfo={NSLocalizedDescription=The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified.}}}
I'm pretty sure the certificate is correct, it is just generated from developer center.