Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
I found out the problem with xcode project configuration. I have some frameworks that does not support ios 5.1.1. I had to make these framewors as option in order to run the app on ios 5.1.1
Try to run cocos2d-js 3.2 on ios 5.1.1 the app crashed with error
dyld: Symbol not found: _NSParagraphStyleAttributeName Referenced from: /var/mobile/Applications/9DC2D817-E75C-4916-BBDF-D27111B1EEA9/ABC Phonics Rhyming Bee.app/ABC Phonics Rhyming Bee Expected in: /System/Library/Frameworks/UIKit.framework/UIKit in /var/mobile/Applications/9DC2D817-E75C-4916-BBDF-D27111B1EEA9/ABC Phonics Rhyming Bee.app/ABC Phonics Rhyming Bee