Project

General

Profile

Actions

Emulator Issues #13564

closed

Dolphin Updater lined to the wrong shared object on macOS

Added by svetlyo 6 months ago. Updated 5 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
OS X
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
2407-43

Description

There is a problem with Dolphin Updater on macOS - the binary is linked to the wrong library (it assumes that there is a Homebrew installation
on the user's machine):

MacBook-Pro:~ fro$ /Applications/Dolphin\ Updater.app/Contents/MacOS/Dolphin\ Updater ; exit; dyld[31643]: Library not loaded: /opt/homebrew/opt/xz/lib/liblzma.5.dylib Referenced from: <8CA59F50-5683-301F-B572-2C2E379CF5BD> /Applications/Dolphin Updater.app/Contents/MacOS/Dolphin Updater Reason: tried: '/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file), '/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file) Abort trap: 6


Files


Related issues 1 (0 open1 closed)

Related to Emulator - Emulator Issues #13567: macOS gives "The signature on the file is invalid" when attempting to run the Updater appFixedOatmealDome

Actions
Actions #1

Updated by OatmealDome 6 months ago

  • Operating system OS X added
  • Operating system deleted (N/A)

Thanks for the report. Which Dolphin version is this?

Actions #2

Updated by svetlyo 6 months ago

The version is:

2407-7
Revision: 654ccb0b705c65acbb91d030e101b11e3da586d6

It was this way for a few weeks.

Actions #3

Updated by svetlyo 6 months ago

I've just updated manually - same on the last development one:

2407-37

Revision: bb03fc04ccbdd5a86dfbe7ab6179d240f5b0e076

Actions #4

Updated by OatmealDome 6 months ago

  • Status changed from New to Accepted

Confirmed. Seems to only affect the arm64 slice. I will look into fixing this.

Actions #5

Updated by OatmealDome 6 months ago

  • Status changed from Accepted to Fix pending

PR opened: https://github.com/dolphin-emu/dolphin/pull/12926

Could you test the Dolphin Updater on this build? You just have to launch the app directly (it will pop up an error saying you're not supposed to do that, but we just need to ensure it isn't crashing).

https://dl.dolphin-emu.org/prs/af/aa/pr-12926-dolphin-latest-universal.dmg

Actions #7

Updated by OatmealDome 5 months ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 2407-43

Fixed in 2407-43.

Actions #8

Updated by svetlyo 5 months ago

While the manual opening of the Updater app works as expected, on the 2407-43 version the updating from Help -> Check for updates... still does nothing.
I wasn't able to test that with the test build from the https://github.com/dolphin-emu/dolphin/pull/12926 pull request because "Help -> Check for updates..." was not functional there (it won't even load the list with the differences)

Actions #9

Updated by OatmealDome 5 months ago

If you open Console.app (Applications -> Utilities), enable streaming, type "Dolphin Updater" into the search box + press enter, and then try running Help -> Check for Updates, does anything appear in the console log?

Actions #10

Updated by svetlyo 5 months ago

Should the name be like this: "/Applications/.Dolphin Updater.2.app" ?

Actions #11

Updated by svetlyo 5 months ago

"/Applications/.Dolphin Updater.2.app/Contents/MacOS/Dolphin Updater not valid: Error Domain=AppleMobileFileIntegrityError Code=-420 "The signature on the file is invalid" UserInfo={NSURL=file:///Applications/.Dolphin%20Updater.2.app/Contents/MacOS/Dolphin%20Updater, NSLocalizedDescription=The signature on the file is invalid}"

"AMFI: Check-fix enabled for binary '/Applications/.Dolphin Updater.2.app/Contents/MacOS/Dolphin Updater' with TeamID '97835T4369', identifier 'com.dolphinteam.dolphin-updater': broken signature treated as unsigned without privileges. This workaround will not work for software built on or after 10.12."

Actions #12

Updated by OatmealDome 5 months ago

  • Related to Emulator Issues #13567: macOS gives "The signature on the file is invalid" when attempting to run the Updater app added
Actions #13

Updated by OatmealDome 5 months ago

Thank you. I've been able to reproduce on one of my machines. I've opened bug 13567 for this problem.

Actions #14

Updated by OatmealDome 5 months ago

The issue should be fixed starting in 2407-111. You'll need to manually update + wait for a newer dev build to be released before testing, though.

Actions #15

Updated by svetlyo 5 months ago

I've manually downloaded 2407-111 and from there managed to update to 2407-113 via "Help" -> "Check for updates...".

(After manually downloading 2407-111 I've done xattr -dr com.apple.quarantine /Applications/Dolphin.app just in case, to avoid app translocation)

Actions

Also available in: Atom PDF