iRacing can only run on the Windows operating system (OS) 8.1 and 10.
iRacing can not run on the Mac operating system.
You can install Boot Camp on your Mac OS that you would then install Windows OS onto.
Learn more here: https://support.apple.com/boot-camp