Reputation: 75
Unable to open pkpass when I try I get the error "The pass “pass.pkpass” could not be opened".
When I try to open it in a simulator it works so I don't have a way to debug it. Any ideas?
Upvotes: 0
Views: 1899
Reputation: 12581
Your pass is failing to load because your web service URL is not being served over HTTPS.
error 21:40:19.322330 +0800 Pass Viewer scheme of webServiceURL 'http://xxx.yyy-qa.com:8091/api/' needs to be an https rather than http.
To fix, either serve your web service over HTTPS, or hook your phone up to Xcode, enable developer mode, then check the option to allow HTTP for passes.
Upvotes: 4