LSOpenURLsWithRole() failed with error ... is often an execute permissions error.
You can text the permissions of the overall app from terminal
ls -l path/to/app
but if that looks OK, you may need to test the executable within the app
ls -l path/to/app/Contents/MacOS/app
Simple example using Calculator…
$ ls -l /Applications/Calculator.app/Contents/MacOS/Calculator
-rwxr-xr-x 1 root wheel 143648 3 Dec 06:43
If you don't see the
x execute permission, you can add it with
chmod +x path/to/app/Contents/MacOS/app
There's an alternative approach which may work.
On first run, rather than double-clicking, right-click & select Open from the drop menu. This will bypass Gatekeeper's quarantine & allow it to run. It should then remember this for subsequent launches.