Trying to build cocos2d-x-3.13.1 with a binary template for mac os x?
Problem:
1 2 3 4 5 6 |
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:
1 |
cocos gen-libs -c -p mac |
Build the templates
1 |
cocos gen-templates |
Now it works.
1 |
cocos new MyGame -p com.MyCompany.MyGame -l cpp -d bob -t binary |