Questions tagged [on-demand-resources]

On-demand resources (ODR) is introduced in iOS 9. ODR are app contents that are hosted on the Apple App Store and are separate from the related app bundle that you download. They enable smaller app bundles, faster downloads, and richer app content.

iOS 9 introduces On Demand Resources, enabling the efficient delivery of rich games and full featured applications using dynamically loaded content. Significantly reduce the time between purchasing and running an app from the App Store, while also decreasing the required storage space by downloading and retaining only content that is necessary. Dive into the latest enhancements in app packaging and learn the APIs to allow your app to acquire only its essential resources.

Find more here

100 questions
15
votes
2 answers

Can iOS 9 on-demand resources be kept permanently?

According to the documentation, iOS 9 on-demand resources downloaded through a NSBundleResourceRequest are kept only until endAccessingResources is called, and it is called automatically when the resource request object is deallocated. Okay, but…
matt
  • 515,959
  • 87
  • 875
  • 1,141
10
votes
1 answer

On Demand Resources crash - NSBundle Resource Request could not connect to its helper daemon

Getting a crash for using ODR(on demand resources) on iOS app with this description - Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSBundleResourceRequest could not connect to its helper daemon iOS…
9
votes
0 answers

iOS/Xcode enable On Demand Resources for Frameworks in project

Has anyone built a project that has Enable On Demand Resources set to YES for frameworks linked to the project. Most of the catalog assets in the app I'm working on are kept and brought into the project in frameworks and I get build error Target…
sweepez
  • 585
  • 1
  • 4
  • 17
8
votes
4 answers

On-demand resources uploading failure

Recently I have faced with problem of uploading on demand resources. I am using Xcode 9.0 for uploading app to AppStore and every uploading finishes successfully. But looking at iTunes Connect build details I can see, that on-demand resources are…
ostap_holub
  • 565
  • 7
  • 15
7
votes
0 answers

iOS On-Demand Resources from a framework or Cocoapod?

Since iOS 9, iOS has an "On-Demand Resources" (ODR) feature to allow Apple to host resources that can be downloaded on demand rather than having them in the app bundle. By tagging assets with resource tag(s), and then using an…
UberJason
  • 3,063
  • 2
  • 25
  • 50
7
votes
2 answers

How to host on demand resources from xcode during development

I'm trying to implement on demand resource downloading for my iOS app. The documents allude to the fact that xcode can host asset packs for you during the development process. My question is how do I enable that? Is there another way to test on…
Tylerc230
  • 2,883
  • 1
  • 27
  • 31
6
votes
2 answers

Amazon EC2-what is the difference between on demand and on spot instances other than pricing that spot is more cheaper than on demand

i want to the difference between spot and on demand instances. I know there is a price difference between these two but other than this i want to know the differences. Please help me
6
votes
2 answers

Backward Compatibility of iOS9 On Demand Resources (ODR)

On-Demand Resources (iOS) On-demand resources are resources—such as images and sounds—that you can tag with keywords and request in groups, by tag. The App Store hosts the resources on Apple servers and manages the downloads for you. On-demand…
5
votes
0 answers

ODR Exception 'NSBundleResourceRequest could not connect to its helper daemon'

I am getting random crash in my in-market app that I believe caused by ODR. And It looks like I am not the only who encountered it, I found this radar and this thread but neither of them seem to have a fix for the issue. I am hoping somebody here…
janusfidel
  • 8,036
  • 4
  • 30
  • 53
5
votes
2 answers

How Does Apple's On Demand Resource System download files to the App's Main Bundle?

I am currently trying to implement Apple's API for On Demand Resource Management for AWS Cloudfront because Apple's ODR is somehow too unreliable. I noticed that when I tag images inside of Assets.scnassets/ with an ODR resource tag, I can access…
btomtom5
  • 842
  • 8
  • 16
5
votes
0 answers

Any security or encryption with ODR content? (On-Demand Resources)

When using Apple’s On-Demand Resources (ODR) feature, is there any protection of the downloaded resources? Any DRM features? Are the downloaded files encrypted or otherwise protected from the prying eyes of someone examining the contents of the app…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
5
votes
2 answers

Initial Install Tags usage and verification during Development

I am trying to use ODR in our application and have created Tags and grouped it under Initial Install Tags option under Prefetched. I am not sure how to verify this on the Simulator and on the Device using the Development Profile. Is TestFlight the…
andrew
  • 272
  • 2
  • 11
5
votes
0 answers

On-demand resources purging

I am thinking of adopting on-demand resources in one of my apps. It will contain about 30 videos which most users will only view once. So, it seems like a good candidate for on-demand resources. The lifespan of this app is expected to be about a…
Andriy Gordiychuk
  • 6,163
  • 1
  • 24
  • 59
5
votes
2 answers

accessing and downloading on demand resources iOS9

I am trying to implement new iOS9 feature app thinning, I understood how tag an image and enable on demand resource in Xcode 7 but I don't understand how to implement NSBundleResourceRequest in my app, can someone help me, that would greatly…
Abhilash
  • 63
  • 1
  • 3
5
votes
3 answers

Getting videos from Assets catalog using On Demand resources

I attributed the tag "tokyo" to my .mp4 video, and set it as installed during the app installation. Originally, I was using a path to load it from my resources, however, now it's different because it's located in the Asset catalog. After reading the…
Aymenworks
  • 423
  • 7
  • 21
1
2 3 4 5 6 7