Xcode quit unexpectedly on Big Sur installed using virtual machine

When i am start writing any code in the xcode for applications Xcode is quitting at the moment. I am using Xcode 12.4 on MAC Bigsur using Virtual Machine.

Thanks and Appreciation

for any help
Xcode quit unexpectedly on Big Sur installed using virtual machine
 
 
Q