samedi 27 juin 2015

Cannot find libcocos2d ios.a library in Xcode

I have downloaded the cocos2d-x 3.6 yesterday. And I do follow the steps in this tutorial page: http://ift.tt/1v5QE5a.

I build and run my new project in Xcode successfully. But I notice that there is no "libcocos2d ios.a" library existed when I click my project setting. I try to search the answer from internet, but it seems doesn't have correct one.

One more thing, if I clean the whole project and rebuild it. It will compiling 621 source files to come out(I think it's cocos2d source files), it takes too long time! I don't want to wait so long every time when I clean and rebuild project. Is there a way to make it don't rebuild cocos2d-x source files every time?

the screenshot: enter image description here

--------------- environment ---------------
Xcode 6.3.2
Mac OS 10.10.3
cocos2d-x 3.6


I find a possible solution here: http://ift.tt/1HnZmVF

After trying, the Xcode project failed to link those two generated "libcocos2d ios.a" files(one for arm7, the other for arm64). I still don't know why this happened. I am building project for iPhone 6(arm64), why it says require i386 architecture.

here is the error (build for iPhone 6 simulator): enter image description here

Aucun commentaire:

Enregistrer un commentaire