macOS: “openLCA.app” is damaged and can’t be opened.
See original GitHub issueWhen you start openLCA on macOS the first time you may see an error message like this:
The reason for this is that openLCA is not a signed application and the security settings of macOS do not allow to run it. To fix this, do the following steps:
- move the
openLCA_macOS_*.tr.gz
to some other folder than theDownload
folder - extract this file using the macOS native Archive Utility
- open the Terminal app and navigate to the folder where you extracted openLCA
cd folder/with/openLCA
- execute the following command:
sudo xattr -r -d com.apple.quarantine openLCA.app
Another option is to change the security settings globally via sudo spctl --master-disable
but this does not seem to work on new macOS versions.
Sources:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:34 (2 by maintainers)
Top Results From Across the Web
macOS: “openLCA.app is damaged and can't be opened”
execute the following command: sudo xattr -r -d com.apple.quarantine openLCA.app. Another option is to change the security settings globally via ...
Read more >GreenDelta olca-app Issues - Giters
macOS : “openLCA.app” is damaged and can't be opened. Updated 15 days ago 25 ... macOS openLCA 2.0 Alpha available? Closed 2 months...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@okworx many thanks Oliver! Yes, we plan to register for such a developer ID. I will come back to you when there are questions. Thanks!
I’ve got quite a few “dev” friends and I will apologize on their behalf for not being so good at explaining these things to mere mortals with little background of troubleshooting/coding/etc. Its not their fault they live in their world and tend to assume that everyone can work out the missing puzzle pieces 😉
Here are slightly clearer steps and combined with others’ contributions that will hopefully help.
Download the file openLCA_macOS_*.tr.gz (Using Firefox seems to be a better choice)
Move the file openLCA_macOS_*.tr.gz to some other folder than the Download folder (“Applications” folder is best)
Extract this file using the macOS native Archive Utility (this is a built in tool in Mac OS, not another downloaded app). Option A. Usually right click on downloaded file, then “open with”, then select “Archive Utility” Option B. Search for it using Spotlight search.
Option C. Navigate to this folder to find it “/System/Library/CoreServices/Applications”, then “File” and “Expand Archive”
Open the Terminal app (also built in and searchable with Spotlight) and navigate to the folder where you extracted openLCA (Navigate to folder means type the “cd” command “space” then location of the file). You should have followed step 2 of course, and if you moved the file to the “Applications” folder then you type “cd /Applications”, then Enter.
Execute the following command: Means type “sudo xattr -r -d com.apple.quarantine openLCA.app” then Enter. It asks for the password of your current user account then Enter (needs to be administrator user. See msrocka’s link if you don’t understand). Note: nothing appears on screen as you type your password so avoid mistakes.
If you do not get an error message, it will seem like nothing happened after pressing Enter. So now you can try opening the App as usual from the Applications folder! (delete the downloaded compressed file if you wish)
Hope this helps 😃