Unable to add Pass to Apple Wallet
<p>I'm doing some testing with Apple Wallet. I've got a Pass I'd like to add to the user's Wallet when they tap a button. Here's my code:</p>

<pre><code>        let filePath = Bundle.main.path(forResource: "DealsPasses", ofType: "pkpass")!
        let passData = try? Data(contentsOf: URL.init(fileURLWithPath: filePath), options: .alwaysMapped)
        let pass = PKPass(data: passData!, error: nil)
        let passVC = PKAddPassesViewController(pass: pass)
        navigationController?.pushViewController(passVC, animated: true)
</code></pre>

<p>However; when the user tapps the button, </p>

<pre><code>AX Exchange error: Error Domain=Accessibility Code=0 "Remote service does not respond to _accessibilityMachPort" UserInfo={NSLocalizedDescription=Remote service does not respond to _accessibilityMachPort}
</code></pre>

<p>is spammed to the console at a rate of ~200/min, and no PKAddPassesViewController is presented (or if it is, it's just got a plain white view)</p>

<p>Running xCode 8 on an iPhone SE (device)</p>

<p>(Side note: dragging the DealsPasses.pkpass into the simulator works just fine)</p>