Riq:
Sorry, I don't know how to create a proper patch.
In file 'CCSpriteSheet.m' on line 216 you have:
NSAssert([children containsObject:sprite], @"CCSpriteSheet doesn't contain the sprite. Can't remove it");
This should ( I think ) be changed to:
NSAssert([children_ containsObject:sprite], @"CCSpriteSheet doesn't contain the sprite. Can't remove it");
Also, the same fix needs to be applied to CCTMXLayer.m, line 384.
Thanks,
CJL