Unreal Not Launching Mac OS Catalina

Hi, just downloaded Unreal 4.26.2 on my Mac. When I launch I am getting the Error can’t find Xcode. Why do I need this. I am using Mac OS Catalina 10.15.7 and it doesn’t allow me to install Xcode from the apple store. What can I do to get Unreal to launch?
Screen Shot 2021-07-06 at 4.45.10 PM