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
1
vote
0 answers

Best way to stream/download large data on first launch

Here is my conundrum: I have a WalkthroughViewController that appears on the very first launch of the app. The app itself has a vast amount of features, one that requires a fair bit of explanation to the average webdev beginner. I have managed to…
JDev
  • 5,168
  • 6
  • 40
  • 61
1
vote
3 answers

How to access Asset Catalog (images) after downloaded through NSBundleResourceRequest?

I cannot access images inside an asset catalog after it's been downloaded through NSBundleResourceRequest (on demand resource). My code, say the image set name is "snow_4" with on demand resource tag "tag1" NSBundleResourceRequest* resourceRequest =…
Mars Zhu
  • 296
  • 2
  • 13
1
vote
0 answers

OnDemandResource and new version App

I ran into the problem of OnDemandResource: 1) I download from TestFlight the old version App... App downloads OnDemandResource and everything works fine. 2) I upload a new version App in which I add new resources, and install it as an update on the…
xXxxX
  • 205
  • 1
  • 8
1
vote
1 answer

Use Files after On demand resource download Swift 3

On Demand resource placement. Hi all. I have set my tags for on demand resources, I have written code to download it but i don't know how to access it? using swift 3 below is my code. where I get the audio from the main.bundle before i had set up…
Tony Merritt
  • 1,177
  • 11
  • 35
1
vote
2 answers

iOS On Demand Resources: how to debug

I would like to test On Demand Resources downloads, possibly with Network Link Conditioner, while debugging the app. Is it possible?
theMoonlitKnight
  • 431
  • 8
  • 17
1
vote
0 answers

On-Demand Resources downloading priority doesn't work

I have two ViewController: First: @property (nonatomic, strong) NSBundleResourceRequest *resourceRequest ; - (void) viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; NSSet *tags1 = [NSSet setWithObjects: "1","2","3","4","5",…
user1884872
  • 197
  • 1
  • 3
  • 14
1
vote
0 answers

iOS On Demand Resources failing on App Store build

I have an app where I have some intro screens that I have set up on iOS's new On Demand Resources. It works perfectly while debugging and testing when I build it from my machine to the device. It also works on production builds built from…
Kevin
  • 483
  • 3
  • 11
1
vote
2 answers

On Remand Resources - Estimated Time (and how to show an alert depending on the download progress)

Is there a way to get the estimated time of On Demand Resources download? I'd like to show an alert until they are all downloaded. [alertDownload showCustom:self image:[UIImage imageNamed:@"icon.jpg"] color:[UIColor…
fabdurso
  • 2,366
  • 5
  • 29
  • 55
1
vote
1 answer

NSBundleResourceRequest bundlePath

[UPDATE AT THE END OF THE QUESTION] I use to play some audio files in my app. I used to store the files in the app, but then I moved to On Demand Resourcesand NSBundleResourceRequest. I have an IBAction to play a random file, and since I moved to…
fabdurso
  • 2,366
  • 5
  • 29
  • 55
1
vote
0 answers

How to get fraction of the progress completed in On Demand Resource download?

I want to get the progress in fractions but what I get is 0 at the beginning of the request and 1 at the end of the download. Here is the code I have written [self.resourceRequest.progress addObserver:self forKeyPath:@"fractionCompleted"…
1
vote
1 answer

On Demand Resources (iOS9) Issue

I'm planning to use the new (iOS9) feature "On Demand Resources" in my app with the aim to reduce the overall size. All things work well but when I test my app using Testflight, I see that the amount of assets that should be download only on demand…
0
votes
0 answers

To increase Hosted Apple on-demand resources size beyond 20GB for iOS App

Apple has set the maximum capacity of on-demand resources for an app at 20GB. We are on the verge of exceeding that boundary. What is the solution if we need to add extra resources that exceed the 20GB limit? Because of this limitation, we have been…
Mohan
  • 1
  • 2
0
votes
1 answer

Unity AssetBundles via AppStoreConnect SIGABRT

I'm trying to build a Unity Game using AssetBundles and I want to distribute them using the Apple AppStore. But the app crashes with an SIGABRT error as soon as I try to use the asset bundles. I followed this instruction and adapted it to fit our…
0
votes
1 answer

Avoid storing On-Demand Resources inside the app project

My app is using about 8 GB of On-Demand Resources and it starts to be a problem having them saved locally on my machine. I also would like to avoid pushing them on a remote repository since the project size would become unmanageable. In the official…
Dree
  • 702
  • 9
  • 29
0
votes
0 answers

How to create an on demand python environment for specific version inside a containerised application?

I am looking for a development solution for my containerised application built on angular & python. Problem: As a part of the application process, I want to create an on demand python environment , in which I will run user uploaded python script and…
Tapan
  • 11
  • 2