0

I cloned Cocos2d-x repo from github, everything works fine but I can't find how to install the Cocos2d templates into XCode. I saw that people were used to use this file, located at the root of the repo:

./install-templates-xcode.sh -f -u 

but it looks like this script file has been removed, any help appreciated.

edit: Still no answer to this problem, even the slightest clues could help me. Are there still templates for XCode? Couldn't get answers from #cocos2d-x irc

1

1 Answer 1

4

Found this, solved my problems.

TL;DR : the shell script doesnt exist anymore, just use:

./cocos new gameName -p com.your_company.mygame -l [cpp/lua] (-d dir) 

to create a new project, and inside the ios folder you'll fin a xcode.proj file.

Sign up to request clarification or add additional context in comments.

Comments