Mac Unity Build Error

I am trying to build my project which is just based on this project: Roll-a-Ball - Unity Learn
I don’t know what my issue is and tried looking at the various forums but here is my errors.

1. Exception: /Applications/Unity/Hub/Editor/2019.4.21f1/Unity.app/Contents/il2cpp/build/deploy/il2cppcore/il2cppcore.dll did not run properly!

2. Build completed with a result of ‘Failed’ in 42 seconds (42053 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

3. UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002b3] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:194
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95
UnityEngine.GUIUtility:ProcessEvent (int,intptr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

Hi man.
I had the same table as you when I tried to build my game and place it on my desktop directly.
But I was able to build it after making a file on the desktop beforehand and selecting it in the build process as main file where my game would be placed on.