{"id":38,"date":"2016-09-26T01:13:58","date_gmt":"2016-09-26T01:13:58","guid":{"rendered":"http:\/\/www.goodbits.ca\/?p=38"},"modified":"2016-09-26T01:13:58","modified_gmt":"2016-09-26T01:13:58","slug":"cocos2dx-binary-project-mac-osx-binary-template-not-found","status":"publish","type":"post","link":"http:\/\/www.goodbits.ca\/index.php\/2016\/09\/26\/cocos2dx-binary-project-mac-osx-binary-template-not-found\/","title":{"rendered":"Cocos2dx Binary Project Mac OSX &#8211; binary template not found"},"content":{"rendered":"<p>Trying to build cocos2d-x-3.13.1 with a binary template for mac os x?<\/p>\n<p>Problem:<\/p>\n<pre class=\"\"> cocos new bob -p com.bob.game -l cpp -t binary\r\n Template named 'binary' is not found.\r\n Multiple templates detected!\r\n You can select one via -t arguments.\r\n Or choose one now:\r\n 1 default<\/pre>\n<p>Solution:<\/p>\n<p>Build the prebuilt libraries:<\/p>\n<pre class=\"\"> cocos gen-libs -c -p mac\r\n<\/pre>\n<p>Build the templates<\/p>\n<pre class=\"\"> cocos gen-templates<\/pre>\n<p>Now it works.<\/p>\n<pre>cocos new MyGame -p com.MyCompany.MyGame -l cpp -d bob -t binary\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8216;binary&#8217; 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 &hellip; <a href=\"http:\/\/www.goodbits.ca\/index.php\/2016\/09\/26\/cocos2dx-binary-project-mac-osx-binary-template-not-found\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cocos2dx Binary Project Mac OSX &#8211; binary template not found<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,3,17],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-cocos2dx","category-development","category-mac"],"_links":{"self":[{"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":1,"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":39,"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions\/39"}],"wp:attachment":[{"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodbits.ca\/index.php\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}