Select ios-sim to running app on iOS simulator for different versions of xcode.
Solve the error when building for iOS simulator in cocos2d-x 3.3