-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple will not allow QGIS on macOS to open / unverified developer #55663
Comments
@wnrand, could you please specify if you have followed the instruction displayed on the Download page?
Does the issue occur trying to install QGIS or trying to launch QGIS after installation? Please also specify what is the exact version of your OS and how did you download the QGIS installer. |
Here are some infos from Apple: https://support.apple.com/HT202491#openanyway |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. |
I have tried the instructions using both the LTS and most recent versions.
This occurs when trying to launch QGIS after installation.
Currently running Sonoma 14.1.2 and I downloaded directly from the site. |
@jackvaughanjr, thanks. It would be very useful if you indicated in detail all the steps followed and what went wrong and the exact error messages, in respect to the available instruction available on qgis.org, in order to try to fix the issue and then provide better instructions. |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
I gave up trying to get the new QGIS to work and went back to using the old version that Mac OS would allow to launch. I tried all those options. I deleted the old install a few times, reinstalled the newest version fresh and then -- first thing -- try and open QGIS with the control-click and select "Open". It never worked. I am now on a new workstation and trying to get any QGIS to work and am still getting the same error when first trying to launch QGIS. No option is given to continue. System preferences/Security/General does not allow it to continue launching either |
Thank you. I have tried following that but it does not behave as the article says it should. I click "Open anyway" and it relaunches QGIS and leads back to the error message that QGIS cannot be opened. I can keep looping that way with no success at launching QGIS. |
I ran into this problem today - I work on a macOS machine that is managed by my employer. Our profiles are set to only allow installations from identified developers. I end up in the same loop that @wnrand does - there is no way to open QGIS when this security requirement is being enforced at the enterprise level. Our IT folks told me that my two options are to get the QGIS team to participate in the Apple identified developer program or use ArcGIS. Would love to hear if this is something that could be added to your roadmap! |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
I have the exact same problem. The suggested fixes from QGIS website simply do not work. |
@DoZiBo1, are you using a macOS machine that is managed by your employer? |
@agiudiceandrea Yes. Support department says it needs to be signed. No way for me to circumvent it. |
@DoZiBo1, AFAIK the macOS dmg installer is signed by the "Developer ID Application: Open Source Geospatial Foundation (4F7N4UDA22)" identity, while the macOS dmg installer is not "notarized". See the log at https://download.qgis.org/downloads/macos/qgis-macos-ltr.latest.log
|
@agiudiceandrea I don't know what this means. Can you translate this into a conclusion? Does it mean, it's signed but in the wrong way/improperly, or it is not signed in all the necessary places? Or is it signed and the problem lies elsewhere? |
@DoZiBo1, probably your support department would mean to say that the installer needs to be "notarized". AFAIK the QGIS dmg installer is only signed, not "notarized". I think the sys admins can actually allow to install the QGIS dmg signed installer on you system, but their policy is probably to only allow "notarized" installers. |
@agiudiceandrea Thank you for clarification. If I see this correctly, there is already open issues regarding notarization of QGIS: issue 218 which refers to issue 270 where the necessary work is supposed to be included. |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
Same issue. Extremely frustrating. |
It is not really reasonable to be asking users to install packages that go around the security measures that are built into MacOS. At best it's sloppy, at worst a system could be potentially compromised. There is also the case of failing a security audit if you're in a company that requires auditing. I worked at a CA for a number of years, and I've also got some experience with dealing with Apple dev stuff and packaging. If I can help out somehow with getting this fixed, I'd be happy to help. |
Same issue here, I have users who would like to install the application though the signing and notarisation issues are a blocker in terms of application security. |
I am not sure if it is the correct thing to do, but what helped me solve this issue was changing my security & privacy settings. In Accessibility I added QGIS to the list of apps that are allowed to control my computer. Then in the Security & Privacy settings, where it states that QGIS is blocked you can click "Open anyway". Voila it opened! Maybe the first step was not necessary, because I wasn't paying attention if the "Open anyway" option was available, nevertheless it is worth to try these two steps if you haven't already. |
You can definitely make things work this way. However, from a security standpoint, it's not really the right way to be doing things. |
I'm having the same issue on an employer controlled Mac. Does anyone know what the newest version of QGIS is that doesn't cause this problem? I'm stuck on 3.16 for now. |
Possibly related to #55930. I agree with others that it's unreasonable to require users to bypass the OS security features. I won't even do this on my own computer in most cases. |
From that page:
For Homebrew users, this is obviously a non-starter. 😉 There is an important difference between their respective QGIS packages:
I don't think that building everything from source is the right answer, because installing and updating is slooowwwwwww. FWIW while the Conda-based packages look promising, they're also unsigned and unnotarised at the moment. I haven't tried going down the "normal" Conda path to see if those are actually signed or notarised – it looks extremely heavy weight. |
Hey everyone, I had the same issue as I was trying to install the latest version in my company's mac and this fixed it:
|
@Newkid76, Your company Mac administrator doesn't seem to push a strict gatekeeper policy. On devices where we push a gatekeeper policy there is no work around aside from |
@greg-vernon QGIS on Mac has had some problems for a few years now. You may have noticed that complaints fall into two broad categories, lack of notarization (as here) and out-of-date components / missing Apple Silicon binaries. The two categories are unfortunately intertwined. There was an attempt made to produce a compilant Mac QGIS bundle a few years ago: the result was QGIS-Mac-Packager. The project was too broad in its aims, then fell far short of them. It is in two parts:
On dependency management / creation of a working executable: On organizing and notarizing the bundle: |
What is the bug or the crash?
I have been going around on this for several weeks now, trying various previous suggestions to get MacOS X to allow me to open QGIS. I have talked to our IT department and Apple and both keep referring me back to QGIS to solve this issue.
Control-click to select "Open" does not work (even for the first time opening with a fresh install.) Clicking "Open anyway" does not work. Rebooting into safe mode does not fix the issue. I believe I tried the hint to use a terminal script and that did not work either. Is there any other option to get QGIS to launch on Mac?
Steps to reproduce the issue
Navigate to QGIS application
Control-click to bring up context menu, select "Open"
Error message pops up that says "“QGIS” cannot be opened because the developer cannot be verified."
Navigate to System preferences, open "Security & Privacy"
Click "Open Anyway" button on "General" tab
Back to error message
Versions
QGIS 3.34.1-Prizren
Supported QGIS version
New profile
Additional context
I fully deleted all QGIS supporting files before doing a fresh installation with no change in behavior
The text was updated successfully, but these errors were encountered: