Move to XCode new build system if building on Mac using XCode (#9617)
Move to XCode new build system if building on Mac using XCode (#9617)

* Use xcode new build system

* Address cr comments
microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime