Category Archives: cocos2dx

Cocos2dx Binary Project Mac OSX – binary template not found

Trying to build cocos2d-x-3.13.1 with a binary template for mac os x?

Problem:

 cocos new bob -p com.bob.game -l cpp -t binary
 Template named 'binary' is not found.
 Multiple templates detected!
 You can select one via -t arguments.
 Or choose one now:
 1 default

Solution:

Build the prebuilt libraries:

 cocos gen-libs -c -p mac

Build the templates

 cocos gen-templates

Now it works.

cocos new MyGame -p com.MyCompany.MyGame -l cpp -d bob -t binary