[kdiff3] [Bug 497308] kdiff3 started to crash on start after it was updated to 1.12 on MacOS

Viacheslav bugzilla_noreply at kde.org
Mon Dec 16 18:05:53 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=497308

--- Comment #9 from Viacheslav <pritykin.amir at gmail.com> ---
codesign --display --verbose /Applications/kdiff3.app
> Executable=/Applications/kdiff3.app/Contents/MacOS/kdiff3
> Identifier=org.kde.KDiff3
> Format=app bundle with Mach-O thin (arm64)
> CodeDirectory v=20400 size=12807 flags=0x2(adhoc) hashes=394+3 location=embedded
> Signature=adhoc
> Info.plist entries=18
> TeamIdentifier=not set
> Sealed Resources version=2 rules=13 files=1
> Internal requirements count=0 size=12

the next command failed:
codesign --verify --verbose --strict --deep /Applications/kdiff3.app
> /Applications/kdiff3.app: invalid signature (code or signature have been modified)
> In architecture: arm64

ChatGPT suggested me to execute this one:
sudo codesign --force --deep --sign - /Applications/kdiff3.app
> /Applications/kdiff3.app: replacing existing signature

codesign --verify --verbose --strict --deep /Applications/kdiff3.app
> /Applications/kdiff3.app: valid on disk
> /Applications/kdiff3.app: satisfies its Designated Requirement

After the steps above, the initial error "kdiff3” is damaged and can’t be
opened" disappeared, and I just had to allow the untrusted app to run from the
"Privacy and Security" settings of MacOS.

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list