我想在我的iphone 5设备中测试我的应用程序并且我得到了这个错误 注意!这在xcode和iphone模拟器上工作正常:
Cocos2d: cocos2d: CCSpriteFrameCache: Trying to use file sprites35.png as texture
Cocos2d: Get data from file(sprites35.png) failed!
Cocos2d: cocos2d: CCSpriteFrameCache: Couldn't load texture
这是加载文件的简单代码:
void GameLayer::loadImages()
{
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("sprites35.plist");
m_gameBatchNode = CCSpriteBatchNode::create("sprites.png",200);
this->addChild(m_gameBatchNode,2,kSSheet);
m_background = CCSprite::create("gride300_300.png");
m_background->setPosition(ccp(m_winSize.width/2,m_winSize.height/2));
this->addChild(m_background,kGrid);
}
我在这里失踪了什么?