Search code examples
iossprite-kittargettexture-atlas

SpriteKit: Texture Atlas won't get loaded on second target


I added a second target to my iOS game to craft a lite version. Then I added all common resources to the second target, including texture atlases, by checking the target in "Target Membership" in the File Inspector.

When I launch it, it says stuff like

2014-03-01 14:33:13.715 LE Lite[377:60b] SKTexture: Error loading image resource: "LE_Rocketship_Hull.png"

Does anyone see what I'm missing here? I already relaunched Xcode and cleaned the build folder with no effect.


Solution

  • Set the "Enable Texture Atlas Generation" flag under the SpriteKit Deployment Options.