Unvanquished / updater

QML based updater to install, update and launch the Unvanquished game.
https://unvanquished.net/download
15 stars 7 forks source link

Apple Silicon: The application cannot be opened for an unexpected reason #88

Closed k0pernicus closed 3 years ago

k0pernicus commented 3 years ago

Hi,

I tried to open and launch the macOS build available on the website (Alpha 51 release), on macOS Big Sur (arm64, Apple Silicon).

Unfortunately, running the app failed with the following error: The application cannot be opened for an unexpected reason.

The error logged is Domain=NSOSStatusErrorDomain Code=-10826 "kLSNoLaunchPermissionErr: User doesn't have permission to launch the app (managed networks)".

Full error:

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10826 "kLSNoLaunchPermissionErr: User doesn't have permission to launch the app (managed networks)" UserInfo={_LSFunction=_LSLaunchWithRunningboard, _LSLine=2508, NSUnderlyingError=0x130f215b0 {Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x130f1ccc0 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed with error: 111}}}}}

The app is 64 bits version so, normally, it could works using Rosetta 2:

file Unvanquished\ Updater.app/Contents/MacOS/updater2
Unvanquished Updater.app/Contents/MacOS/updater2: Mach-O 64-bit executable x86_64

I tried to resign the app locally, or to repackage using upx (not not packed by UPX btw), but none of those solutions are working...

I expect maybe a package issue, but I am not sure about that...
Are you aware about that issue please?
Is a solution "available" for this?

Thanks in advance

slipher commented 3 years ago

What is the output of this command:

find Unvanquished\ Updater.app -type f -exec ls -l@ {} +
illwieckz commented 3 years ago

Can you retry to download the game? (from there: https://unvanquished.net/download/ )

We just uploaded updated binaries (still the same version of the game but those binaries are known to fix some known issues).

k0pernicus commented 3 years ago

Thanks @illwieckz, it is working now :) The game is running very well using Rosetta 2.

I will check the updates in order to know what happened (bit of curiosity).

Closing the issue, thanks again!