Skip to content

phatblat/phatblat.pass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛂 phatblat.pass

My business card as an Apple Wallet pass. The intent of publishing this example Apple Wallet pass is so that you can quickly create your own. However, please change the contents and don't pretend to be me. That would just be silly.

📲 Install

Open the following link on an device that supports Apple Wallet (iOS or macOS):

📷 Alternatively, use the camera app on your device to scan the QR code:

Apple Wallet pass

Making Your Own

Pass Configuration

My pass uses the "Generic" style, which is the best fit for a business card. There are different sets of fields and design options available for each of the different pass types.

The configuration and assets are all located in the phatblat.pass folder. The pass.json contains all the configuration of the pass. Image assets reside next to it and have specific names, depending on their purpose for a given pass type.

Pass Signing

Once you've configured the pass and added assets, you will need to sign and compress the pass package. Note that you will need to Create a Pass Type Id & Pass Signing Certificate.

This repo contains a copy of Apple's sample signpass macOS CLI command, which can be built and run all with the following command:

make pass

See the Makefile for the underlying commands.

Signing Errors

Missing Identity

2022-09-03 11:19:45.945 signpass[30634:6699251] Couldn't find an identity for pass.com.example.YourPass

This error means that it couldn't find a valid certificate for your pass type ID. Use the help links above in the Pass Signing section.

Missing WWDR Certificate

Warning: unable to build chain to self-signed root for signer "Pass Type ID: pass.com.example.YourPass"

If you get an error like the following, it means that you are missing one of the certificates in the trust chain that your signing certificate depends on. This is well explained in this pinned answer. The solution involves downloading the missing certificate from the Apple PKI page.

References

📄 License

This repo is licensed under the MIT License. See the LICENSE file for rights and limitations.

About

My business card as a Apple Wallet pass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published