Thanks! That did the trick indeed.
I get the same error:
“Learn To Code With Godot.app” is damaged and can’t be opened. You should move it to the Bin.