Passbook: Couldn't find a passTypeIdentifier in the pass?

不羁的心 提交于 2019-12-11 07:41:40

问题


I followed all steps as per Apple recommendations to create a passbook but whenever I use the signpass tool (provided by apple) to sign the pass package I get "Couldn't find a passTypeIdentifier in the pass" Any thoughts on what could be the problem? Spent my weekend on this! thank you


回答1:


When signpass tries to compile an invalid pass.json file multiple errors occur. The first error returned is "Couldn't find a passTypeIdentifier in the pass". This error can be displayed even if there is nothing wrong with your passTypeIdentifier.

Check your pass.json file for syntax errors at jsonlint.com.

Common errors:

  • forgetting to add a comma at the end of a line
  • adding an extra comma after last set of curly brackets


来源:https://stackoverflow.com/questions/26457097/passbook-couldnt-find-a-passtypeidentifier-in-the-pass

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