Error Compiling Message on Mac Arduino Uno

I have had a recurring issue with uploading my code. I have searched up every video on YouTube, but it still does not seem to work. I have checked all my ports, they are correct. Every time I click Upload for my code, I get “Error compiling code for Arduino Uno.” I have tried countless times, reseting my Arduino etc. Nothing has worked, does anyone know the issue?

It sounds like there is an error somewhere in your code.

Do any of the built in examples like Blink compile or are those giving you an error too?