twopointone / applepassgenerator

Python library to generate passes i.e (.pkpass) files compatible with Apple Wallet
https://primedigitalglobal.github.io/applepassgenerator/
MIT License
46 stars 6 forks source link

Generated `.pkpass` file can't be opened in iOS simulator #7

Closed bachya closed 1 year ago

bachya commented 1 year ago

Issue summary

I'm attempting a simple project (mimicking your quickstart), and even though I'm able to generate a .pkpass file (which, when unzipped, has all the files I'd expect), I cannot import that file into the iOS simulator. I am unclear on how to debug further.

Expected behaviour

The pass should open in iOS simulator.

Actual behaviour

See above.

Steps to reproduce the problem

See above.


Checklist

bachya commented 1 year ago

Figured it out: I didn't realize that a pass needed at least an icon.png to be valid. Once I added one, everything worked.