我试图将新图像添加到我的 xcode 项目中,以使我的应用程序通用,为 iphone 添加图像。编译时,这是错误:
2013-02-26 08:58:35.585 XXXX[2132:707] cocos2d: Couldn't add XXXX-XXX.png in CCTextureCache
2013-02-26 08:58:35.598 XXXXX[2132:707] *** Assertion failure in -[MainMenuLayer addChild:], /Users/XXXX/XXXXX/XXXXX/XXXXX/XXXX/cocos2d/CCNode.m:362
2013-02-26 08:58:35.632 XXXXXX[2132:707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Argument must be non-nil'
*** First throw call stack:
(0x336c68bf 0x301ba1e5 0x336c67b9 0x30f0d3b3 0x4abef 0xf6495 0x49279 0xcbc8d 0x49279 0xca7cd 0x6413d 0x6bd6b 0x98ff9 0x9a39b 0x34dab423 0x34dab379 0x31940f93 0x36c46891 0x3368ff43 0x3369a553 0x3369a4f5 0x33699343 0x3361c4dd 0x3361c3a5 0x37d8efcd 0x3107f743 0xc90fb 0x3df8)
terminate called throwing an exception
有人知道会发生什么吗?