Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 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

like image 494
Tylerc230 Avatar asked Jan 19 '16 21:01

Tylerc230


1 Answers

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.

like image 104
Tylerc230 Avatar answered Oct 27 '22 05:10

Tylerc230