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
Asked
Active
Viewed 2,557 times
2 Answers
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
-
1Do we need to make it to NO for production build ? – Rajneesh071 Jan 09 '20 at 08:54
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