#Tauri Build Issues

4 messages · Page 1 of 1 (latest)

vocal yew
#

Hey all, having some issues with my Tauri 2 app (Mac M4 Air). I'm using the app in dev mode and it works well. My app is a media converter app that uses the shell to call FFMPEG commands. I've given permission to call FFMPEG with allow:execute and allow:spawn, again, the app works well in dev mode. But, I'm building a universal binary and the resulting build shows up, opens and is responsive but anything I do to call these FFMPEG scripts fails, mentioning "No such file or directory (OS error 2)"

If I open terminal and type "ffmpeg --version" I get a valid version number.

I've also attempted to sign the app and it's still not working. I think it's something I'm overlooking but I can't figure out why. It's frustrating becuase I'd like to use the app at work.

Any guidance on what the issue might be?

vocal yew
#

To add to this, in the target release I'm opening up the .app version, and that's failing. There's also a binary next to that, if I open that version, terminal flashes open and the app pops up, that app works well. Ideally though I'm using the .app version as it's got the icon attached to it

sterile valley
vocal yew
#

That worked!!! Oh man, that plagued me for weeks. Not sure why it's not more prominent in the docs. Thanks for the help!!