analyze: fix mac os
Refactor for future
iOS c++11 flags
Fix iOS try_compile

Set global variables:
* CMAKE_XCODE_EFFECTIVE_PLATFORMS
* MACOSX_BUNDLE_GUI_IDENTIFIER
* CMAKE_MACOSX_BUNDLE
* CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY
Merge branch 'update' into update.linux