Closed Sjors closed 11 years ago
plug the device through USB and look at the console for the device in XCode. The console shows the real error. Hope that helps. Thank you for finding the other problem in Rails4. I'll look at it in a couple of days, its the long weekend in Canada :)
Thanks, that was really helpful.
I'm not sure if this is related to Rails 4 or something else. I'm able to download a pass on my Mac, but when I try to download it on my iPhone I get a popup telling me that it can't download it.
Server log:
I commented out the pass type id.
The link looks like this:
<a href="/addresses/35/pass.pkpass" mimetype="application/vnd.apple.pkpass"> <img alt="Passbook" src="/images/passbook.png"></a>
I added the mime-type in a few extra places just in case .I'm using the standard example pass, with only the
teamIdentifier
andpassTypeIdentifier
set to my own.I also noticed that after 10 minutes, the pass I downloaded on my Macbook still hasn't shown up on the device. This could suggest that there is something wrong with the pass that my Macbook doesn't mind but the iPhone does.
Any idea what might be going wrong or how I can further debug this?