Wraps xcode_settings in Xcode generator condition.

Signed-off-by: Olli Wang <olliwang@ollix.com>