apple-developerapple-wallet

Apple Wallet Not Detecting My Pass (.pkpass) - How to Identify the Issue?


I'm trying to add a pass to Apple Wallet, but it isn't being detected when I attempt to add it. I've created the .pkpass file, and it contains the following files:

{
  "formatVersion": 1,
  "passTypeIdentifier": "pass.com.yourdomain.com",
  "serialNumber": "123456",
  "teamIdentifier": "5ZXXXXXX",
  "description": "This is an Event Pass",
  "eventTicket": {
    "primaryFields": [
      {
        "key": "event",
        "label": "EVENT",
        "value": "Concert"
      }
    ],
    "secondaryFields": [
      {
        "key": "location",
        "label": "LOCATION",
        "value": "Example Venue"
      },
      {
        "key": "date",
        "label": "DATE",
        "value": "2024-08-15"
      }
    ],
    "auxiliaryFields": [
      {
        "key": "time",
        "label": "TIME",
        "value": "7:00 PM"
      }
    ],
    "backFields": [
      {
        "key": "terms",
        "label": "TERMS & CONDITIONS",
        "value": "Non-refundable. Please arrive 30 minutes early."
      }
    ],
    "barcode": {
      "message": "1234567890",
      "format": "PKBarcodeFormatQR",
      "messageEncoding": "iso-8859-1"
    }
  },
  "organizationName": "ORGANIZATION NAME",
  "logoText": "Concert 2024",
  "foregroundColor": "rgb(255, 255, 255)",
  "backgroundColor": "rgb(0, 0, 0)",
  "eventTicketStrip": {
    "primaryFields": [
      {
        "key": "event",
        "label": "Event",
        "value": "Concert"
      }
    ]
  },
  "relevantDate": "2024-08-15T19:00:00Z"
}

My Questions:

What I've Done So Far:


Solution

  • If you have an apple computer, you can use the console app and watch the logs. That should help you identify the issue.

    enter image description here

    Alternatively, you can use something like passkit.com or passninja.com and then compare your pkpass file.