Unreal engine crashing at 18% on mac

My unreal engine keeps crashing when I launch it. I am on a macbook pro 13 inch 2020, 1 tb ssd, 3.8ghz, 16 gb ram. I try to launch it and it crashes at 18 percent. I am able to open up 4.16 and below, but it will crash at a random time when I try it on 4.17-4.25. Anyone know how to help. Thanks!

You need to run xcode, if you don’t have it installed, install it, if it’s installed, run it once so that it can install the components, mine was crashing at 18% but after running xcode and letting it install the components automatically, I’m currently not crashing at 18%, it will take time to go through but the instant crash is gone.