Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nermal

Moderator
Original poster
Staff member
Dec 7, 2002
21,293
5,056
New Zealand
I've updated from 14.7 to 15.1 and now I get the following error when trying to launch OpenSCAD.

Screenshot 2024-10-30 at 1.10.06 pm.png


There are a couple of posts in an older beta thread, but they never went anywhere and it's better to have a dedicated thread for this issue.

I've found that if I go to Show Package Contents and then run Contents/MacOS/OpenSCAD then it opens and seems to run correctly, albeit with a Terminal window stuck open. Does anyone have a proper solution for this problem?
 
  • Like
Reactions: ferences
You could try to give OpenSCAD Full Disk Access, open the app, remove the permission.
 
Didn't help, I'm afraid. However, it looks like it's not just me, and the comment from kintel implies that Apple has done something deliberately. Sigh.
 
Does the app show in System Settings > Privacy & Security ?.

or perhaps try making a copy of the app & recursively removing the quarantine attribute with xattr.

 
Does the app show in System Settings > Privacy & Security ?.

or perhaps try making a copy of the app & recursively removing the quarantine attribute with xattr.
It appears under Privacy & Security/Files & Folders (where I'd previously let it access my desktop etc.) but it didn't appear under Full Disk Access until I manually added it.

Doing an xattr -cr on it didn't help.

How I wish Apple's error messages were actually useful...
 
Last edited:
  • Like
Reactions: zevrix
I think short of disabling security, the developer will need to deal with it.

I'm guessing that codeSigningID & codeSigningTeamID being empty has some bearing on it.
 
For other apps that might return this error, removing the signature of the app and self-signing it solved the problem for OpenSCAD 2021.01
Code:
codesign --remove-signature /Applications/OpenSCAD.app

Code:
codesign --force --deep --sign - /Applications/OpenSCAD.app

Apple's (old) Code Signing Guide https://developer.apple.com/library...l/CodeSigningGuide/Procedures/Procedures.html
Yes, yes, yes, it's working. App SeaMonkey opens again.
Thank you so much, all of you.
 
I've updated from 14.7 to 15.1 and now I get the following error when trying to launch OpenSCAD.

View attachment 2444079

There are a couple of posts in an older beta thread, but they never went anywhere and it's better to have a dedicated thread for this issue.

I've found that if I go to Show Package Contents and then run Contents/MacOS/OpenSCAD then it opens and seems to run correctly, albeit with a Terminal window stuck open. Does anyone have a proper solution for this problem?
I did essentially the same thing but of course, like you, I'd love to find a permanent solution to this other than keeping Terminal on the dock.
 
Last edited:
I did essentially the same thing but of course, like you, I'd love to find a permanent solution to this other than keeping Terminal on the dock.

See the comments right above you; They have a solution. In addition, if you ever have to start a GUI process via Terminal, and you want to be able to close the Terminal window, disown the process from the shell. Like so:
1) ctrl+z (Pauses and backgrounds the process)
2) bg %1 (Continue job number 1 in the background
3) disown %1 (Disown the process - The Terminal's shell no longer owns it, so launchd takes over, which is the normal parent of opening a GUI app)
 
why oh why does apple do this? like, the average user is not gonna know how to self sign stuff in the terminal to get programs to run, this seems like apple is bullying the open source software community. i won't give them the benefit of the doubt here, this is malice pure and simply, sure, in a future update to sequoia apple may change it back so average users can launch app's with control click or though the context menu again, but apple will only do so cos of the backlash that's now being generated. as i do not buy this is a bug, it's intentional, apple wants more developer money, and if that means the OSS community will have to suffer, so be it.
 
For other apps that might return this error, removing the signature of the app and self-signing it solved the problem for OpenSCAD 2021.01
Code:
codesign --remove-signature /Applications/OpenSCAD.app

Code:
codesign --force --deep --sign - /Applications/OpenSCAD.app

Apple's (old) Code Signing Guide https://developer.apple.com/library...l/CodeSigningGuide/Procedures/Procedures.html
THANK YOU THANK YOU THANK YOU!!!!

at my business we run 'SuperSlicer' which is a fork of PrusaSlicer for our 3D printing. the guy who makes SuperSlicer does not own a Mac and relies on the community to test and update his new builds. the version of SuperSlicer that i was running that ran FLAWLESSLY on my 2018 MBP (Intel Chip) stopped working once i upgraded to the latest OS -even AFTER making it so that i could open apps from 'Everywhere'.

we have been dead in the water until i came across your fix today. THANK YOU!!!!!
 
  • Like
Reactions: bogdanw
Yes, yes, yes, it's working. App SeaMonkey opens again.
Thank you so much, all of you.
Even though I've had a Mac since 1987 I'm not an expert at all so I was wondering how to remove the signature of an app and whatever else was said above. I'm trying to open SEAMONKEY with ought going through TERMINAL. Thanks.
 
Even though I've had a Mac since 1987 I'm not an expert at all so I was wondering how to remove the signature of an app and whatever else was said above. I'm trying to open SEAMONKEY with ought going through TERMINAL. Thanks.
You can use the Sentinel app and drag SeaMonkey into Self-sign app
https://github.com/alienator88/Sentinel
I made a similar AppleScript that can be saved as an app, code and video here https://forums.macrumors.com/thread...h-unsigned-applications.2441792/post-33541826
 
For other apps that might return this error, removing the signature of the app and self-signing it solved the problem for OpenSCAD 2021.01
Code:
codesign --remove-signature /Applications/OpenSCAD.app

Code:
codesign --force --deep --sign - /Applications/OpenSCAD.app

Apple's (old) Code Signing Guide https://developer.apple.com/library...l/CodeSigningGuide/Procedures/Procedures.html
Many thanks for this. Was driving me mad while trying to open Sanger Institute Apps in Artemis package
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.