I am using a SPTextureAtlas to create multiple frames of a timeline class that extends Sprite (ie, like a movieclip). This works fine when I run it in the iPhone simulator, but when I try to compile it onto an ipod touch I get a EXC_BAD_ACCESS exception. Using the debugger I have found that this is being thrown by the SPTextureAtlas method parseAtlasXml when it callls [xmlParser parse]; but as far as I can see the xml path I have passed in is valid (otherwise why does it work in the simulator?).
I only started moving to Objective C from Actionscript a week ago so I'm a bit stuck now, I wondered if anyone had any thoughts as to what might be going wrong? Am I missing some way of embedding my xml assets or something? I'm using Xcode version 3.1.4, and publishing to an ipod touch running 3.1.2 I think.