7

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 demand resource downloading during development. Is the "Embed Asset Packs in Product Bundle" build setting relevant? Here is where xcode hosting is mentioned in the docs: on demand docs

Tylerc230
  • 2,883
  • 1
  • 27
  • 31

2 Answers2

15

There is a flag in the build settings called "Embed Asset Packs In Product Bundle". Set that to YES for Debug builds. This will allow you to simulate resource downloading when building from xcode. In actuality, you will be "downloading" the resources from inside the app bundle.

Tylerc230
  • 2,883
  • 1
  • 27
  • 31
0

You can embed resources in the bundle for local testing and Ad-hoc distribution.

If you want to test ODR downloads you'll need to use Testflight.

Mirek
  • 470
  • 4
  • 18
  • But how to embed resources in bundle for device testing, which Xcode setting was for ODR? Any switch to turn on or off? – Juguang Feb 18 '16 at 11:25