开发者

cocos2d problem with device

开发者 https://www.devze.com 2023-02-13 09:56 出处:网络
my application use cocos2d and all work fine in simulator but when i开发者_JAVA技巧 try to build my app for device i\'ve the next error:

my application use cocos2d and all work fine in simulator but when i开发者_JAVA技巧 try to build my app for device i've the next error:

"_OBJC_CLASS_$_CCTextureCache", referenced from:

"_OBJC_CLASS_$_EAGLView", referenced from:

"_OBJC_CLASS_$_CCSprite", referenced from:

"_OBJC_METACLASS_$_CCLayer", referenced from:

"_OBJC_CLASS_$_CCSpriteFrame", referenced from:

"_OBJC_CLASS_$_CCLayer", referenced from:

"_OBJC_CLASS_$_CCTexture2D", referenced from:

"_OBJC_CLASS_$_CCDirector", referenced from:

"_OBJC_CLASS_$_CCScene", referenced from:

How can i fix this?


I have a couple suggestions for this problem:

1) Do you still have your cocos2d libraries still intact? You need to have them linked to your target application for it to work. make sure you have libcocos2d.a, libCocosDenshion.a, and other libraries you need to build your application.

2) Make sure you have libz.dylib somewhere within your project.

0

精彩评论

暂无评论...
验证码 换一张
取 消