iOS passkit unable to open .pkpass file on mac

I want to generate .pkpass file, but it gives following error on the Mac. "The pass “Sample.pkpass” could not be opened."

All the files are generated correctly. but when I tried to generate pass key file, it is generated with empty content. I am assuming that might be the main issue due to which my manifest are not generated correctly resulting into the .pkpass error. Can anyone tell me what could be the issue.

Reference: https://tranzer.com/blogs/how-to-create-your-own-wallet-passes-pkpass/

I have the same issue. It's surprising there is not a straight forward resource on how to use PassKit. it's even worse if you want to use NFC functionality. Right now, I am just trying to get something into the Wallet app at all. It took forever just to get the certificate signing errors to go away. I've used the reference you listed and also this: https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/YourFirst.html#//apple_ref/doc/uid/TP40012195-CH2-SW1

iOS passkit unable to open .pkpass file on mac
 
 
Q