I was able to solve part of the issue but I am stuck now:
1. the path that Godot expects was different than how you named your folder. You use: /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos/debug/libgozen.macos.template_debug.arm64.dylib
but
/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib
is expected. At least on my Mac.
The second issue I encountered is that Apple doesn´t allow the file to be opened since it´s a third party lib and hasn´t been notarized by Apple.
This terminal command fixed it:
xattr -d com.apple.quarantine /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib
But now I am stuck.
ERROR: Can't open dynamic library: /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib. Error: dlopen(/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib, 0x0002): Library not loaded: ./bin/lib/libavcodec.60.dylib
ERROR: Referenced from: <3A52ED05-1418-35B4-AB3C-A4C92852ACB3> /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib
ERROR: Reason: tried: './bin/lib/libavcodec.60.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS./bin/lib/libavcodec.60.dylib' (no such file), './bin/lib/libavcodec.60.dylib' (no such file).
ERROR: Can't open GDExtension dynamic library: 'res://addons/gde_gozen/gozen.gdextension'.
ERROR: res://addons/gde_gozen/video_playback.gd:36 - Parse Error: Could not find type "GoZenVideo" in the current scope.
ERROR: res://addons/gde_gozen/video_playback.gd:133 - Parse Error: Could not find type "GoZenVideo" in the current scope.
ERROR: res://addons/gde_gozen/video_playback.gd:141 - Parse Error: Could not find type "GoZenVideo" in the current scope.
ERROR: res://addons/gde_gozen/video_playback.gd:119 - Parse Error: Identifier "GoZenVideo" not declared in the current scope.
ERROR: res://addons/gde_gozen/video_playback.gd:379 - Parse Error: Identifier "GoZenAudio" not declared in the current scope.
ERROR: modules/gdscript/gdscript.cpp:3022 - Failed to load script "res://addons/gde_gozen/video_playback.gd" with error "Parse error".
ERROR: Can't open dynamic library: /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib. Error: dlopen(/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib, 0x0002): Library not loaded: ./bin/lib/libavcodec.60.dylib
ERROR: Referenced from: <3A52ED05-1418-35B4-AB3C-A4C92852ACB3> /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib
ERROR: Reason: tried: './bin/lib/libavcodec.60.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS./bin/lib/libavcodec.60.dylib' (no such file), './bin/lib/libavcodec.60.dylib' (no such file).
ERROR: Can't open GDExtension dynamic library: 'res://addons/gde_gozen/gozen.gdextension'.