thewh1teagle / vibe

Transcribe on your own!
https://thewh1teagle.github.io/vibe/
MIT License
929 stars 56 forks source link

[Bug]: Not open in Sonoma Apple Silicon #15

Closed tiagomaricate closed 8 months ago

tiagomaricate commented 8 months ago

What happened?

Double click and the app says file its damaged. Using terminal I try the xattr -cr /path and the I try to open again, nothing happens.

Steps to reproduce

Just try to open.

What OS are you seeing the problem on?

MacOS

Relevant log output

No response

thewh1teagle commented 8 months ago

Unfortunately, apple doesn't allow to use apps downloaded from the internet at all, if it's not signed.

Can you try the following exact steps:

  1. Install the .dmg file by opening and dragging into applications.
  2. open launchpad and search for terminal and execute
    xattr -cr /Applications/vibe.app && open /Applications/vibe.app && exit
tiagomaricate commented 8 months ago

Unfortunately, apple doesn't allow to use apps downloaded from the internet at all, if it's not signed.

Can you try the following exact steps:

  1. Install the .dmg file by opening and dragging into applications.
  2. open launchpad and search for terminal and execute
xattr -cr /Applications/vibe.app && open /Applications/vibe.app && exit

I just did this. Redownloaded the new version for silicon and followed exactly as you said. The app open and close.

thewh1teagle commented 8 months ago

Strange. I got the 'Damaged app' warning too. I did this, and then the app started successfuly.

Can you try the following too (copy & paste):

app=/Applications/vibe.app
xattr -cr $app
codesign --force --deep --sign - $app
open $app
eavitan commented 8 months ago

Same here, got damaged app using the UI and this error using the terminal.

Screen Shot 2024-01-25 at 13 51 11

macOS Monterey, M1

eavitan commented 8 months ago

same error https://eyal.cc/?utm_source=signature&utm_medium=email&utm_campaign=email+signature+&utm_term=image אייל אביטן <> Eyal avitan +972-55-966-4757 <+972559664757> WhatsApp https://wa.me/972559664757 eyal.cc http://eyal.cc/?utm_source=signature&utm_medium=email&utm_campaign=email+signature+&utm_term=link

On Thu, Jan 25, 2024 at 4:31 PM thewh1teagle @.***> wrote:

@eavitan https://github.com/eavitan That looks completely different error. Can you run it from the terminal this way, and then paste the log here:

app=/Applications/vibe.appxattr -cr $appRUST_LOG=trace RUST_BACKTRACE=1 open $app

— Reply to this email directly, view it on GitHub https://github.com/thewh1teagle/vibe/issues/15#issuecomment-1910329855, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGEATBCOE5CDIJBXCBKCJLYQJUFBAVCNFSM6AAAAABCJHVCCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMZDSOBVGU . You are receiving this because you were mentioned.Message ID: @.***>

tiagomaricate commented 8 months ago

Strange. I got the 'Damaged app' warning too. I did this, and then the app started successfuly.

Can you try the following too (copy & paste):

app=/Applications/vibe.app
xattr -cr $app
codesign --force --deep --sign - $app
open $app

I try but the app still opening and closing.

thewh1teagle commented 8 months ago

So turns out that the problem isn't about that the dmg file isn't signed. The problem is that vibe depends on ffmpeg libraries, but we don't have them there...

There's 2 possible solutions:

  1. Static linking ffmpeg on MacOS
  2. Adding every needed .dylib shared library to the installer and patch the executable to grab them from relative path to itself.

I tried both, and there's no simple way of doing so. I'll check that and keep you update.

Meanwhile as a temporarily workaround which may not even work because it needs specific version only: You can try install ffmpeg from brew with:

brew install ffmpeg
thewh1teagle commented 8 months ago

Fixed! You can download it from vibe/releases Don't forget to open it once with right click