Solve the error when running app on iOS simulator in cocos2d-x 3.3

1. Solve the error when building for iOS simulator in cocos2d-x 3.3
2. Support running app on iOS simulator with Xcode 6.