question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

macOS: “openLCA.app” is damaged and can’t be opened.

See original GitHub issue

When you start openLCA on macOS the first time you may see an error message like this:

image

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 the Download 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:open
  • Created 2 years ago
  • Reactions:10
  • Comments:34 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
msrockacommented, Oct 10, 2022

@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!

2reactions
Adco-0000commented, May 7, 2022

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.

  1. Download the file openLCA_macOS_*.tr.gz (Using Firefox seems to be a better choice)

  2. Move the file openLCA_macOS_*.tr.gz to some other folder than the Download folder (“Applications” folder is best)

  3. 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”

  4. 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.

  5. 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.

  6. 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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found