I resolved the issue removing all devices from Window->Devices and Simulators->Devices and re-adding them.
Thank you, I confirm the same workaround works, it looks like it is the same issue.
Post not yet marked as solved
Bug submitted as: FB8562978 - http://www.openradar.me/FB8562978
Happy to see Apple engineers are already aware of this.
Post not yet marked as solved
...addendum: the issue happens only for requests that have a fetchBatchSize set.
Post not yet marked as solved
I submitted a Radar to Apple: FB7514196You can see a copy here: FB7514196
Post not yet marked as solved
On Xcode 11.3 release the issue is still there. The delegates are never called.
Post not yet marked as solved
I've been having this exact same problem. Looking at other apps implementing the media intents, it looks like there is something (probably undocumented) to do to avoid the audio session getting suspended, but I really cannot find what. Did you have any success?
Thank you, that's exactly what was missing!The state of the documentation after all this time from the announcement makes everything more difficult than it should be.
Post not yet marked as solved
I think you have to mark your completion handler as @escaping:func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)