Figured this out - the ios simulator doesn’t handle it. Wen I built for the ipad, it runs fine,
Next issue: has anyone had a problem with spriteList()? When I use it to get a list of images from my documents folder, it comes back with no elements, even though my xcode project has 50 images in it.
Forgot to mention: readimage() works, I can load an image by explicitly stating the file name.
Back to the first problem, I got that error message when running my app on my iPad but launched from Xcode. I didn’t get it in the simulator, and I didn’t get it when I’d actually installed the app.
@Andrew_Stacey sometimes that can happen if you have an old version of the app on your iPad with a different set of data, and then you add shader folders to one of the shader packs. (Or spritepack folders to SpritePacks/).
Xcode is a bit buggy when it comes to folder references (the blue groups in the project navigator). It often won’t understand that it needs to copy everything to your iPad again — even though the contents of the folder reference have changed. Sometimes you need to clean your build before knows to copy everything.