James Hin
James Hin

Reputation: 11

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

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

Upvotes: 1

Views: 2147

Answers (1)

Andrew Phillips
Andrew Phillips

Reputation: 664

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

Upvotes: 5

Related Questions