For default, the project runs a file called ‘cocos2d-jsb.js’ through the following script.
But I want to create another name for this file, like ‘main.js’ to run the script this way
I add the file to xcode, I run the project, the project compile successfully, but I receive the following error:
Cocos2d: JS: :0:can't open main.js: No such file or directory
Any idea how resolve that, I’ll appreciate any help.