Why can't UE4 detect Xcode on my Mac?

Same issue as @Rakesh Malik 's here in 4.16.3 and Xcode 8.3.3
how to fix ?