iphone - iPad : Crash because of add more than three CCSpriteFrameCache file -
in cocos2d application have used 5 ccspriteframecache(.plist) file. when load more 3 .plist file app getting crash.
just printing that
2012-06-08 16:45:08.575 voicechangingbowtie[5611:707] cocos2d: ccspriteframecache: trying use file 'windowanimationsipad.png' texture 2012-06-08 16:45:13.089 voicechangingbowtie[5611:707] cocos2d: ccspriteframecache: trying use file 'ipadshark.png' texture 2012-06-08 16:45:14.297 voicechangingbowtie[5611:707] cocos2d: ccspriteframecache: trying use file 'ipadsharksecond.png' texture ...
then app crashed
crash no message in cases mean have troubles memory. how big textures trying load? check memory usage instruments tool.
Comments
Post a Comment