question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't open .pkpass file in iOS device

See original GitHub issue

I had generate a pkpass file by using the sample code. However, the pkpass only could open in macOS. When I using mail to send the file to my iPhone, it can’t be opened in iPhone. And I had used the Xcode to see the simulator log. But it only gives me the following error code: Passbook[1602]: assertion failed: 17G9016 16A366: libxpc.dylib + 79599 [28B7F54A-6A8C-33A0-BA46-FFA5278B041E]: 0x7d And I had used the tool that apple provide from this document: https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/YourFirst.html#//apple_ref/doc/uid/TP40012195-CH2-SW1 But it seems not work for me. Is there anything I had lost? The following is my Json: { "formatVersion":1, "serialNumber":"123456781200", "passTypeIdentifier":"pass.com.demo123.demo", "authenticationToken":"Y9ULN74QULDAC7PF", "description":"some description", "teamIdentifier":"TEAMID1234568", "organizationName":"your org", "barcodes":[ { "format":"PKBarcodeFormatCode128", "altText":"988765433210", "message":"123456789", "messageEncoding":"ISO-8859-1" } ], "coupon":{ "headerFields":[ { "key":"22222", "label":"Balance", "value":300, "currencyCode":"USD" } ], "primaryFields":[ { "key":"mykey", "label":"INSTRUCTIONS", "value":"Mutiple use with balance", "attributedValue":1000 } ], "auxiliaryFields":[ { "key":"1111111", "label":"Label For AuxiliaryFields", "value":"Value For AuxiliaryFields" } ], "backFields":[ { "key":"key123", "label":"Description", "value":"Giftcard" }, { "key":"key1243", "label":"T & C", "value":"TC" }, { "key":"key1234", "label":"Phone No.", "value":"3256789900865" }, { "key":"key1236", "label":"Website", "value":"https://www.google.com/" } ] }, "sharingProhibited":false }

It seems likely to this issue: https://github.com/drallgood/jpasskit/issues/3 But it seems not work for me.

And is there any sample code for implementing IPKRestletServerResourceFactory?

Thanks for the help.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
monkeyooocommented, Dec 16, 2019

Solve it. After I downloaded from this link, the certification is work.

But I still want to know is there any sample to implement IPKRestletServerResourceFactory. Big thanks.

0reactions
kinju4374commented, Dec 7, 2021

Solve it. After I downloaded from this link, the certification is work.

But I still want to know is there any sample to implement IPKRestletServerResourceFactory. Big thanks.

Hi @monkeyooo , could you please help me? I am facing same issue. It’s working only in the mac for my iOS Developer and files are correct. I have added .p12 file and .cer file which the developer sent me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with retrieving pkpas files - Apple Community
1) save the pkpass file to your Mac, · 2) change the file extension from ". · 3) double-click the file. · 4)...
Read more >
Easy Ways to open PKPASS File on Computer and ... - Jihosoft
All you have to do is simply download that PKPASS file from your email, and when you tap on that file, it will...
Read more >
How To Import A PKPASS File In iPhone - Tutorial - Techilife
Any website that permits you to download a PKPASS file more than likely lets you also do the same from your iPhone. Just...
Read more >
How do I open a PKPass file on iPad? - Ask MetaFilter
It is only available as a PKPass file. I need to open it on my iPad. Every guide I've found online tells me...
Read more >
How can I add a .pkpass file to Wallet? - Apple StackExchange
send yourself an email with the .pkpass file attached; open the email on the iphone; tap the attachment; 'Add' it to your wallet....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found