debugginglocalhostwalletpasskit

Apple passes development environment


I am trying to understand how to work with apple passes whilst using localhost. I am using Android Usb debugging so I can visit my website served on localhost from my phone. I have also setup the signing, compressing and installation of the passes.

What I don't understand, is how to debug communications between the installed pass and my server. I don't seem to be receiving requests from the pass once it is installed. Is this because I am using localhost? I inserted localhost as the web service in the pass.json file used to generate the file. My problem is understanding how to debug the problem as I am getting no feedback to work on.


Solution

  • Localhost won't work as the device will view localhost as itself, not as your computer.

    To work locally:

    For feedback you can view your device logs in Xcode or in the OSX Console application.