Running executable programs in an exported project with OS.execute()
will always be troublesome on macOS, due to its stringent signing and notarization requirements. This is also not feasible if your project uses the hardened runtime (which is required to publish on the Mac App Store).
Either way, you'll need to copy the binary manually to the .app
bundle folder, likely in the Contents/MacOS
folder. You can open an .app
bundle as a folder by right-clicking it.