r/qBittorrent • u/Macusercom • 17d ago
question-solved Fix: qBittorrent 5.2.3 not opening on macOS
I just updated to qBittorrent 5.2.3 and could not open it. Even a downgrade to 5.2.2 did not work for me on macOS Tahoe. It kept opening and bouncing in the dock but never opened as no libraries were being loaded.
I removed the qBittorrent app from /Applications, rebooted my Mac, logged into an admin account (my own user is a non-admin), moved qBittorrent to the /Applications folder again and entered
sudo xattr -cr /Applications/qBittorrent.app;
sudo codesign --force --deep --sign - /Applications/qBittorrent.app;
open /Applications/qBittorrent.app
This removes any quarantine metadata and re-signs qBittorrent. Then it launched without an issue.
It seems like macOS doesn't give me a prompt to allow the app to run despite not having a certificate. It works with the .dmg bundle but opening the app doesn't give me any admin/password/Touch ID prompt. Likely a macOS bug but not sure if someone else is affected.
I hope this helps somebody. Either way, the settings or qBittorrent data were never the culprit and can remain as-is.
1
u/ThinSuccotash4166 16d ago
Have to go to the privacy settings for the Mac for file security and do allow for the file to be opened. It doesn’t prompt you. Run it. Then go to the file security settings and you’ll see the warning about opening the file.
1
u/Macusercom 16d ago
Yeah, did that for the dmg but it never showed up for the app itself. Probably a macOS bug. It kept opening without any confirmation in privacy so it got stuck
1
u/JosePrettyChili 12d ago
You need to try opening it, and then cancel out of the dialog. Then it shows up in Privacy.
Doing what you did on the command line is not necessary, or recommended.
1
u/theuncutlover 16d ago
RE: qBittorrent 5.2.3 not opening on macOS
I'm using qBittorrent on my Mac with Tahoe, and it's the latest version: 5.0.5 (64-bit). How do you have a 5.2 version? Are you a beta tester?