Got a really weird dilemma. Basically one of our Apps we've been trying to submit this for a while now and it keeps on getting rejected because the reviewers test device is failing to download the assets from Apple On Demand, this is really frustrating since this is something that is out of our control and we can not control the delivery of these assets from Apple's servers.
Below is a snippet of the code we are using to request Assets from the server.
We seem to be hitting line 21 where the asset is failing to download which is something out of our control. I would really appreciate if anyone has come across this issue or if one of the Apple Engineers can look at this and provide support.
Below is a snippet of the code we are using to request Assets from the server.
Code Block swift let req = NSBundleResourceRequest(tags: [tag]) requests[tag] = req req.conditionallyBeginAccessingResources { isDownloaded in guard !isDownloaded else { return update(.success(Demand(id: tag, status: .ready))) } req.beginAccessingResources { error in if let error = error { update(.failure(error)) } else { update(.success(Demand(id: tag, status: .ready))) } } }
We seem to be hitting line 21 where the asset is failing to download which is something out of our control. I would really appreciate if anyone has come across this issue or if one of the Apple Engineers can look at this and provide support.