Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The application cannot be opened for an unexpected reason (NSOSStatusErrorDomain Code=-10669) #8

Closed
oneirocosm opened this issue Dec 4, 2023 · 2 comments

Comments

@oneirocosm
Copy link

I believe this will be related to #7 although it has a different error message.


Chip: Apple M3 Pro
Operating System: Sonoma 14.1

Essentially, I am having issues launching the application MailMate installed via nixcasks. Attempting to launch it gives me the following error message:

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10669 "(null)" UserInfo={_LSLine=4141, _LSFunction=_LSOpenStuffCallLocal}

This happens on both the master and the feature/variations branches.


Note: I am installing the variations branch with this in my nix configuration inputs:

nixcasks.url = "github:jacekszymanski/nixcasks/feature/variations";

Looking into this myself, it seems that this error code often comes up for PostgreSQL installations on ARM macs. This leads me to believe that nix is mistakenly installing the x86_64 build which I can confirm by looking at the packages Info.plist file which contains the following lines:

	<dict>
		<key>x86_64</key>
		<string>10.6</string>
	</dict>

Unfortunately, this is where I get stuck--I don't know why this version would be installed. It may be possible to run this version of the program using Rosetta, but there should be a native version of it available.

@jcszymansk
Copy link
Owner

Nix is installing the x86_64 build, and quite old at that, but not mistakenly, as it is what Homebrew provides: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/m/mailmate.rb.

There's also a newer version, which according to the application changelog should be an universal binary, but it's not in the Homebrew casks repository; it's in an alternative tap which Nixcasks doesn't support. I'll look into adding these "versions" later.

@jcszymansk
Copy link
Owner

For now I'm closing this issue, when I add custom/alternative taps (which I plan to do next, but don't know when), feel free to check again and possibly reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants