Cocos2dx build problem

i am using
macOs(10.15.6)
xcode12.0 beta 6 iOs 14
cocos2dx 3.17.2

Now i create a hello world project. when i am trying to run the project
and i getting a lots of error like bellow

plz help me

thanks in advance

1 Like

It tells you exactly what the problem is.

Also stop using the xcode beta unless you need to. We haven’t even tested with it yet.

1 Like

@slackmoehrle i don’t get what causing the problem and what is the solution.
xcode 12.0 beta 6 support ios 14
thanks in advance

Look at the images you posted. That is the problem. What architectures are you building for?

Switch Xcode versions and try again.

any solution for this problem xcode 12 cocos2d-x 3.17?

Local approved scheme:

Delete the files of the original build of the project, and clear the compilation cache in /user//Repository/Developer/Xcode/DerivedData/.

Rebuild the project.

Open xcode, open the content of the red box, and modify the content of the red line to be the same as in the screenshot.




build xcode.

It is possible to test in version CocosCreator 2.4.0 and CocosCreator 2.3.4.

2 Likes

Is this solution for Cocos2d-x v3.15 and xcode 12? (not the creator version) I can confirm too that our game is not running on simulator and Xcode 12. I don’t see any libv8_monolith.a. Can you please post a solution for us using pure c++ version?

Update: In my case, i only needed to add x86_64 in target libcocos2d iOS under User Defined and game now runs on simulator.