System MacBook Pro (M1pro processor) with MacOS Tahoe 26.7
After installation of the newest dmg: Ghostscript.pkg and open EasyABC the error message of MacOS says EasyABC is defect and cannot be opened.
Going to Settings, Security: there is no entry regarding EasyABC. So I do not see a way to circumvent the error message.
I have found the app Sentinel very handy to fix these types of issues. You just drag the app icon from Finder into the Sentinel window and it repairs the permissions. https://github.com/alienator88/Sentinel/releases/
Thanks a lot, Steven, it helped, EasyABC is signed now and can be opened.
There is still a warning coming up: /usr/bin/pstopdf could not be found. Is there an easy way to solve this?
Hi,
macOS is not providing anymore the pstopdf.
You have to install Ghostscript. Then go to the settings and delete the /usr/bin/pstopdf if present in the file settings. If the location of ghostscript is not automatically found you'll then have to enter it manually.
Sincerely
Frédéric
ok. This works.
For information, the following AppleScript should also be able to solve the damaged information.
You just need to copy and execute the following inside script editor:
display dialog "This tool will fix EasyABC so it can run on macOS.
Please make sure EasyABC.app is in the Applications folder." buttons {"Cancel", "Continue"} default button "Continue"
set appPath to "/Applications/EasyABC.app"
-- Check presence using POSIX path (reliable)
tell application "System Events"
if not (exists disk item appPath) then
display dialog "EasyABC.app was not found in /Applications.
Please drag EasyABC.app into the Applications folder first." buttons {"OK"} default button "OK"
return
end if
end tell
display dialog "Fixing EasyABC…
You may be asked for your administrator password." buttons {"OK"} default button "OK"
-- Remove quarantine
do shell script "xattr -cr " & quoted form of appPath with administrator privileges
-- Ensure executables in Helpers
do shell script "find " & quoted form of (appPath & "/Contents/Helpers") & " -type f -exec chmod +x {} \;" with administrator privileges
-- Apply ad-hoc signature
do shell script "codesign --force --deep --sign - " & quoted form of appPath with administrator privileges
-- It should now be fixed
display dialog "EasyABC has been fixed and is ready to run." buttons {"OK"} default button "OK"
-- Launch EasyABC
do shell script "open " & quoted form of appPath