signpass error:Couldn't find an identity for pass.com.xxx.xxxx

青春壹個敷衍的年華 提交于 2019-12-10 15:12:19

问题


I use the signpass form the Apple passbook demo passbook_materials to create a .pkpass file I have created my pass type ID and change the passTypeIdentity in the pass.json. When I execute: ./signapss -p ./myPass in terminal, it shows:

Couldn't find an identity for pass.com.xxx.xxx.

Does someone know this?


回答1:


You need to install your certificate into your keychain (double clicking on the file downloaded from Apple will suffice). You need the Apple WWDR certificate installed in your keychain also. You also must make sure you set the teamIdentifier field in your pass.json to the correct value, not just the passTypeIdentifier field.




回答2:


In my case, the passbook certificates was generate in another computer, so I have to export the private key into a 'xx.p12' file, install both the p12 file and the passbook certificate in my new mac, and the problem goes away.

You can also follow the step 1 in this document: tutorial
It was very meticulous guide for wallet certificate.



来源:https://stackoverflow.com/questions/13045639/signpass-errorcouldnt-find-an-identity-for-pass-com-xxx-xxxx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!