integrity cannot be verified on MacOS 10.15 Catalina

Having trouble installing or compiling FreeCAD? Get help here.
mko
Posts: 3
Joined: Mon Sep 23, 2019 11:42 pm

integrity cannot be verified on MacOS 10.15 Catalina

Postby mko » Mon Sep 23, 2019 11:49 pm

Hi forum, first time poster here. I was going to put this in the tracker but it sent me to post here first.

FreeCAD does not run on MacOS 10.15 Catalina. I just upgraded from public beta 6 to public beta 8 and on all versions running FreeCAD produces the following message:

“FreeCAD.app” can’t be opened because its integrity cannot be verified.
This software needs to be updated. Contact the developer for more information.

I don't know what exactly changed with Catalina but I've found another developer facing the same problem with their app https://stackoverflow.com/questions/574 ... x-catalina

What does the forum think? Thanks.
looo
Posts: 2965
Joined: Mon Nov 11, 2013 5:29 pm

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby looo » Tue Sep 24, 2019 6:05 am

mko wrote:
Mon Sep 23, 2019 11:49 pm
What does the forum think? Thanks.
Mac is simple annoying.
mko wrote:
Mon Sep 23, 2019 11:49 pm
“FreeCAD.app” can’t be opened because its integrity cannot be verified.
Maybe this is because we haven't signed the app?
please help with my conda-packaging efforts: https://liberapay.com/looooo/
mko
Posts: 3
Joined: Mon Sep 23, 2019 11:42 pm

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby mko » Tue Sep 24, 2019 8:25 am

It has something to do with signing the app or what Apple calls app notarization. For now I've figured out a workaround: open terminal and run the following command to manually remove quarantine attribute:

Code: Select all

sudo xattr -d com.apple.quarantine /Applications/FreeCAD.app
User avatar
Kunda1
Posts: 5945
Joined: Thu Jan 05, 2017 9:03 pm

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby Kunda1 » Tue Sep 24, 2019 9:26 am

Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 5945
Joined: Thu Jan 05, 2017 9:03 pm

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby Kunda1 » Tue Sep 24, 2019 9:33 am

mko wrote:
Tue Sep 24, 2019 8:25 am
It has something to do with signing the app or what Apple calls app notarization. For now I've figured out a workaround: open terminal and run the following command to manually remove quarantine attribute:

Code: Select all

sudo xattr -d com.apple.quarantine /Applications/FreeCAD.app
Can someone confirm :point_up_2:
chrisb wrote:
Potential 'Known Issue' + workaround (once it's confirmed)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
mko
Posts: 3
Joined: Mon Sep 23, 2019 11:42 pm

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby mko » Tue Sep 24, 2019 9:55 am

I've checked this bug but I don't think it's related as the issues are rather different. I could not start FreeCAD at all before removing the quarantine flag. Catalina seems to increase security requirements for apps and FreeCAD may need to be signed or "notarized" by Apple.
chrisb
Posts: 19703
Joined: Tue Mar 17, 2015 9:14 am

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby chrisb » Wed Sep 25, 2019 7:58 am

Kunda1 wrote:
Tue Sep 24, 2019 9:33 am
chrisb wrote:
Potential 'Known Issue' + workaround (once it's confirmed)
10.15 is hardly used here and the solution sounds very convincing. I have added it to the known issues, although we have no confirmation yet.
Dave4u2
Posts: 1
Joined: Sat Nov 09, 2019 11:50 am

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby Dave4u2 » Sat Nov 09, 2019 11:57 am

Apple have used Gatekeeper for a while now to prevent applications from developers who have not gone through the App Store for their applications. This is fairly common, and not unique to Catalina (10.14 Mojave and 10.13 High Sierra also had Gatekeeper)

An additional workaround is to right-click (or control-click) the FreeCAD App, and click Open.
chrisb
Posts: 19703
Joined: Tue Mar 17, 2015 9:14 am

Re: integrity cannot be verified on MacOS 10.15 Catalina

Postby chrisb » Sat Nov 09, 2019 2:05 pm

Dave4u2 wrote:
Sat Nov 09, 2019 11:57 am
An additional workaround is to right-click (or control-click) the FreeCAD App, and click Open.
This is known, but it seems not to work always.