1

I think, I can only run cocos2d-js apps on the iPhone in release version. How can I get console output there? Normal cc.log() - Text is not displayed in the console of XCode.

How can I set the COCOS2D_DEBUG constant to 1 in release mode?

4

1 回答 1

0

你可以在发布模式下设置 COCOS2D_DEBUG=1,但你不应该这样做

如果 cocos2d_debug = 1 在调试和发布模式下,为什么需要这个标签?

您可以从 xcode menu-> window->organizer->device logs 查看发布模式下的日志

于 2014-09-09T02:14:29.567 回答