It appears that when the app resumes the URLSession's download task, less than 50 milliseconds later, the request fails: Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted UserInfo={NSErrorFailingURLStringKey=https:[my request url], NSErrorFailingURLKey=https:[my request url], _NSURLErrorRelatedURLSessionTaskErrorKey=( BackgroundDownloadTask <UUID1>.<1>, LocalDownloadTask <UUID2>.<1> ), _NSURLErrorFailingURLSessiontaskErrorKey=BackgroundDownloadTask <UUID3>.<1>} How do I determine the reason why the operation is not permitted when the app is launched in the background? This seems to be the reason why my complication can't update when started by WatchOS. Anyone care to take a guess?
Topic:
App & System Services
SubTopic:
Core OS
Tags: