Bundling 'macOS Application…' failed: prelude.lua:380 Bob invocation failed

I get a bug on bundling my game, it gives me the error “Bad Pathname” and the error “Bundling ‘macOS Application…’ failed: prelude.lua:380 Bob invocation failed,” this happens when i bundle for both windows and macOS. I have ran defold as administrator and my path name has 0 spaces in it, Changing the folder location also doesnt work. Can someone help me?

Which version of Defold are you using?

There is an open issue for something similar here: