LnL7 / nix-darwin

nix modules for darwin
MIT License
3.21k stars 459 forks source link

Unable to run some app on ~/Applications/Nix Apps after update MacOS Sequoia 15.1 #1167

Open rhesadaiva opened 1 week ago

rhesadaiva commented 1 week ago

Description

I'm doing update for my Macbook Pro, update the OS into MacOS Sequoia 15.1, suddenly after update, some app in ~/Applications/Nix Apps can't run because the Finder doesn't have permission to run the app.

Screenshot 2024-11-14 at 09 47 43

Steps Taken

  1. Removed the applications from Nix configuration and ran darwin-rebuild switch
  2. sudo nix-collect-garbage -d
  3. nix-collect-garbage
  4. Run darwin-rebuild --check, got an error like this Screenshot 2024-11-14 at 09 48 17

Expected Behavior

The app should run

Question

Is there any configuration should i done since i'm updating the OS?

mbarneyjr commented 1 week ago

I'm experiencing this too. I had to install Kitty via brew as a workaround

Mayeu commented 1 week ago

I don't have much idea about what could be wrong here, but there is a small wiki page about upgrading macOS: https://github.com/LnL7/nix-darwin/wiki/Upgrading-macOS

Did you both follow it?

Enzime commented 1 week ago

That page is quite out of date, I’ve removed it now

It looks like the error you’re getting is the same as this article:

https://hackaday.com/2024/11/01/apple-forces-the-signing-of-applications-in-macos-sequoia-15-1/

I’m not sure if there’s a workaround for it

emilazy commented 1 week ago

That article is basically misinformation; it links to this Apple page that explains that they just removed the override to the Security & Privacy pane in System Settings. Which, yes, is annoying, but not at all “version 15.1 disabling ways to bypass this completely”.

Mayeu commented 1 week ago

Quoting Apple news directly here:

In macOS Sequoia, users will no longer be able to Control-click to override Gatekeeper when opening software that isn’t signed correctly or notarized. They’ll need to visit System Settings > Privacy & Security to review security information for software before allowing it to run.

rhesadaiva commented 1 week ago

For the temporary solution, I can just do like this:

  1. Open Terminal
  2. Type kitty
  3. The app is opened

(Still annoying, but i don't want to reconfigure my Kitty again)

mbarneyjr commented 1 week ago

Even after using the

$ sudo spctl --master-disable

workaround to get "Allow applications from: Anywhere", I'm still unable to open kitty

image