xcode on windows 10

how to run xcode on win10?

You can't it requires macOS - use VmWare or Parallels to probably run a copy of macOS or invest in a Mac.