Xcode Playground not working

whenever I try to run my code on Playground it keeps saying:Screen Shot 2020-06-03 at 2.37.38 PM.
It also says that it is Running the code but it is not.
I am using a Virtua Machine from Virtual Box.

It also shows:

I tried to uninstall and then installed Xcode again. Then when I tried to run the code again it said was running the code then said ready again. Even though it said it as done running the code, it did not show the result.

Now it shows:

Hi Amo,

Clicking the blue play button doesn’t work?

No, it doesn’t work. I click it and it says it is running the code, but there is no output.

Hi Amo,

Maybe a Virtual Machine is not strong enough to use Xcode. You could buy components to build a Hackintosh. It will be stronger than a virtual machine.