简体   繁体   English

按需资源:无法完成下载请求

[英]On-Demand Resources: Download request could not be completed

I am developing my tvOS app and am hosting some content on an AWS bucket, however when I try and download the data using NSBundleResourceRequest 我正在开发tvOS应用并在AWS桶中托管一些内容,但是当我尝试使用NSBundleResourceRequest下载数据时

I get: 我得到:

Error Domain=NSURLErrorDomain Code=-1008 "Download request could not be completed. 
Resources not found." UserInfo={NSLocalizedFailureReason=Download request could not be completed.
Resources not found., NSUnderlyingError=0x12910bc00 {Error Domain=NSURLErrorDomain Code=404 "(null)"}}

I can clearly see the resources on the server and can download them manually. 我可以清楚地看到服务器上的资源,并且可以手动下载它们。 Just ODR is not working...any ideas? 只是ODR不起作用...有什么想法吗?

Is there anyway to see what URL ODR thinks it should be looking at? 无论如何,有没有看到ODR认为应该查看的URL?

I've set the url in Asset Pack Manifest URL Prefix 我已经在资产包清单网址前缀中设置了网址

因为我只是拿了assetpack的文件夹版本并上传了...我需要上传二进制版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM