I'm using several texture atlases in a SpriteKit game without issue, but I've added a new one (foo.atlas) that I'm loading with the following code:
SKTextureAtlas *myAtlas = [SKTextureAtlas atlasNamed:@"foo"];
Whenever the above line is executed, an exception is thrown and the following is printed out to console:
Unsupported Texture Atlas Format Code 2
But that's it. No further details. I'll get this error even if I remove every texture from the atlas and replace it with known-good textures from one of my other atlases that work without issue. I've restarted, cleaned by build, and deleted derived data… all to no avail.
Any ideas as to why this isn't working?