now in the folder “template” of cocos2d-html theres two cocos2d files: cocos2d.js and cocos2d-jsb.js. In order to compile for ipad I’m using the second one but when I try to run the game from Xcode with the ipad simulator the xcode console says:
cocos2d-jsb.js:58:TypeError: cc.TARGET_PLATFORM is undefined
the file is “as is” taken from the “template” folder so is TARGET_PLATFORM obsolete? should I use something else to have the same result?
poster here because the cocos2d-jsb.js file is part of cocos2d-html5