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
20,973
4,541
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

ab22

macrumors regular
Nov 14, 2020
168
99
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.

 

Nermal

Moderator
Original poster
Staff member
Dec 7, 2002
20,973
4,541
New Zealand
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

ab22

macrumors regular
Nov 14, 2020
168
99
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.
 

bogdanw

macrumors 603
Mar 10, 2009
6,099
3,010

ferences

macrumors newbie
Nov 13, 2018
22
39
Ottawa, Canada
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.
 

WWELVIS

macrumors newbie
Apr 29, 2021
1
0
Sarasota, Florida
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:

casperes1996

macrumors 604
Jan 26, 2014
7,593
5,764
Horsens, Denmark
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)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.