I am currently building a top-shelf extension that pulls information from an API, including 1720x720 sized images and then needs to manipulate the images via core graphics to draw text on them, before storing the image in the caches directory and passing that image to the TVContentItem as the image URL. This all works beautifully on the simulator and everything runs fine. Unfortunately, when I run on the device I get a force close of "Program ended with exit code: 0".
It appears that the kill is done in the middle of my code that's resizing my images, but from the memory profiler I only see my extension take around 5-6 MB and a previous thread indicated that extensions should be alllowed 16MB. I am also serializing the image downloads so I should only be pulling and manipulating one at a time. I didn't see anyting in the tvOS device log that indicated why the extension was killed.
Are there any limitations here that I am unaware of or other things that I could try in this case?
Thanks!