It was helpful advise, thank you!
But now in my app and development environment, for macOS 10.x version, I can do it by right-clicking and opening as you mentioned. However, for recent macOS version apps that many users will use, opening from right-click shows as broken.
I don't know why the new version for mac works if I unlock it in the terminal, but I can't open it by right-clicking, it can be a subtle issue that takes time to resolve.
If both can be easily opened from right-click, It may be permissible to write that it support.