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.
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:
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.
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.
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.
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.
- Wallet Developer Guide
- Wallet Support Materials
Contains example passes and source for
signpass
binary. - PassKit Package Format Reference
This repo is licensed under the MIT License. See the LICENSE file for rights and limitations.