signpass错误:无法找到pass.com.xxx.xxxx的标识 [英] signpass error:Couldn't find an identity for pass.com.xxx.xxxx
问题描述
我使用signpass形式的Apple passbook demo passbook_materials来创建.pkpass文件我创建了我的传递类型ID并更改了pass.json中的passTypeIdentity。当我在终端执行: ./ signapss -p ./myPass
时,它显示:
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:
无法找到pass.com.xxx.xxx的身份。
Couldn't find an identity for pass.com.xxx.xxx.
有人知道吗?
推荐答案
您需要将证书安装到钥匙串中(双击从Apple下载的文件即可)。您还需要在钥匙串中安装Apple WWDR证书。您还必须确保将pass.json中的teamIdentifier字段设置为正确的值,而不仅仅是passTypeIdentifier字段。
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.
这篇关于signpass错误:无法找到pass.com.xxx.xxxx的标识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!