Pass is not added to passbook

Hello Guys,


I try to generate a wallet pass. Signature Stuff is fine now. I also manage to resign passes I download after changing teamid etc. in pass.json and update of signature and manifest, but for my pass, the pass json seams to be the problem, and I'm out of ideas. I even use Asset files from working passes to be sure everything is fine.


Can someone may see the issue, or even better, is there a way for me to debug that? I found the ppkpassvalidator, but my pass is validated fine there.


Here is the pass JSON:


    "backgroundColor": "rgb(0, 255, 0)",
    "barcodes": [
        {
            "altText": "My Webpage",
            "format": "PKBarcodeFormatQR",
            "message": "https://batian-kuhn.de",
            "messageEncoding": "iso-8859-1"
        }
    ],
    "description": "Das ist der erste Pass",
    "foregroundColor": "rgb(4, 49, 180)",
    "formatVersion": 1,
    "generic": {
        "auxiliaryFields": [
            {
                "key": "aux",
                "label": "aux",
                "textAlignment": "PKTextAlignmentLeft",
                "value": "value"
            }
        ],
        "backFields": [
            {
                "key": "back",
                "label": "back",
                "textAlignment": "PKTextAlignmentLeft",
                "value": "field"
            }
        ],
        "headerFields": [
            {
                "key": "name",
                "label": "ich bin",
                "textAlignment": "PKTextAlignmentLeft",
                "value": "Bastian"
            }
        ],
        "primaryFields": [
            {
                "key": "name",
                "label": "Name",
                "textAlignment": "PKTextAlignmentLeft",
                "value": "Bastian"
            }
        ],
        "secondaryFields": [
            {
                "key": "",
                "label": "Das ist tes",
                "textAlignment": "PKTextAlignmentLeft",
                "value": "los gehts"
            }
        ]
    },
    "labelColor": "rgb(247, 129, 216)",
    "logoText": "Der Logo Text",
    "organizationName": "***",
    "passTypeIdentifier": "pass.bastian-kuhn.***",
    "serialNumber": "1234567890123456",
    "teamIdentifier": "***"
}

Replies

Assumed, there is an opening "{" as well at the beginning of the original document, I don't think it’s the JSON.


Apart from guessing:

- try a different barcode message

- include the old "barcode"-field as a secure fallback on older phones (in addition to the array)


If the pass is generated, but simply not added to Wallet: Check if your images may have exceeded the maximum file sizes.


Hint: If you happen to run the complimentary web service as well, start by implementing the log endpoint. This usually delivers the most usable results (as Apple, in recent years, significantly reduced the details you can get from Console).