• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

AppleToolBox

Tools and Fixes for Mac, iPad, iPhone & iWatch

Search posts

  • About
  • Contact

CONNECT WITH US

CATEGORIES

  • iPhone
  • iPad
  • iPod
  • Apple Watch
  • Mac/MacBook
  • AirPods
  • Apple TV
  • News
  • Apple Services
  • HomePod
  • Reviews

SITE

  • Home
  • About Us
  • Contact
  • Advertise

Search posts

You are here: Home / Mac / Fix: App Is Damaged and Cannot Be Opened on Mac

Fix: App Is Damaged and Cannot Be Opened on Mac

By Madalina Dinita 4 comments Last updated April 10, 2021

Your Mac may sometimes throw an annoying error message that says the app you’re trying to launch is damaged and can’t be opened. What’s even more confusing is that this error also affects many macOS native apps. If you already restarted your computer but the error refuses to go away, pursue the troubleshooting solutions below.

Contents

  • How to Fix “App Is Damaged and Can’t Be Opened” on Mac
    • Tweak Your Privacy Settings and Update the App
    • Reinstall the App
    • Use the Xattr Command
    • Conclusion

How to Fix “App Is Damaged and Can’t Be Opened” on Mac

Tweak Your Privacy Settings and Update the App

Before diving into more complex troubleshooting solution, let’s start with some quick workarounds.

Navigate to System Preferences, select Security and Privacy, and go to General. Go to Allow apps downloaded from and select Anywhere. In other words, you’re allowing non-App Store apps to run on your machine.

mac allow apps downloaded from anywhere

Many users confirmed that certain apps don’t seem to work properly when the “App Store and identified developers” option is checked.

Additionally, check if there’s a newer app version available. If you downloaded the problematic app from the App Store, launch the Store app and check for updates. If you’re running an outdated macOS versions, navigate to System Update, check for updates and install the latest OS version available for your Mac.

Reinstall the App

Re-downloading or reinstalling the app that triggered this error may be the solution you’re looking for. If you initially downloaded the app from a third-party download website, uninstall it and make sure to download it from its developer’s official website this time around. Better yet, if the app is available in the App Store, download it directly from the Store.

Always download your apps from reliable and trusted sources to keep your Mac safe from threats. As a quick reminder, some third-party download websites may alter the app code to inject adware or various trackers. That might explain why you’re getting this error on your Mac.

Use the Xattr Command

The xattr command lets you modify or even remove the extended attributes of your apps and files. In other words, this command modifies the complementary information attached to your app or file, also known as metadata.

A number of users solved this issue by running the xattr -r -d com.apple.quarantine <path to file or app>  command in Terminal. To clarify, this command lets you remove the quarantine flag from your app. Double-check to make sure you add the correct path to your app after the com.apple.quarantine string. Use this command only if you’re sure your file or app is coming for a trusted source.

There’s another command that worked for many users but we’d strongly advise you to use it only as a last resort. The xattr -cr /path/application.app command lets you remove all your file or app attributes (metadata) leaving your Mac unable to assess if that file or app is stable or secure. So, do proceed at your own risk and only if you’re 100 percent sure the app you’re trying to launch is stable and secure. For example, let’s say the problematic app is iTunes and it’s located in the Applications folder. You need to run this command: xattr -cr /Applications/iTunes.app.

Conclusion

If your Mac says the app you’re trying to launch has been damaged, this may indicate the app’s code has been altered. This may potentially put your system’s security and stability at risk. To fix this error, update the problematic app, install the latest macOS update or reinstall the app. As a last resort, use the xattr command to remove metadata from the app.

Did you manage to get rid of the “App is damaged and can’t be opened” error? Did you find other solutions to troubleshoot this pesky error? Share your feedback in the comments below.

Related Posts:

  • iOS 13 or iPadOS problems and how to fix them - Troubleshooting Guide
    iOS 13 or iPadOS problems and how to fix them -…
  • iMessage not working iOS 13 or iPadOS? Fix it today
    iMessage not working iOS 13 or iPadOS? Fix it today
  • Taking Photo But iPhone Says Storage is Full?
    Taking Photo But iPhone Says Storage is Full?
  • iMessage Not Working iOS 12? Fix Message App Problems
    iMessage Not Working iOS 12? Fix Message App Problems
  • How To Fix Messages and iMessage Problems in iOS 11
    How To Fix Messages and iMessage Problems in iOS 11
  • AirPods Pro---The Complete Guide
    AirPods Pro---The Complete Guide
  • Sidecar not working in iPadOS and macOS? How to fix Sidecar problems
    Sidecar not working in iPadOS and macOS? How to fix Sidecar…
  • The Best Weight Loss Apps For iPhone In 2021
    The Best Weight Loss Apps For iPhone In 2021
  • The Best iPhone And Mac Shortcuts For Beginners
    The Best iPhone And Mac Shortcuts For Beginners

Reader Interactions

Write a Comment Cancel reply

Show 4 Comments

  1. Joy says

    November 11, 2022 at 5:16 PM

    I am trying to run an app I just got, but it keeps coming up with the notification, “App is damaged.” I tried fixing it the way you said, but I don’t have an option in my settings to allow apps to be downloaded from “anywhere.” The only options I have is “App Store” and “App Store and identified developers.” What do I do?

    Reply
  2. Yet Another Reader says

    April 16, 2022 at 2:19 PM

    I had an app which is no longer available from the Apple app store or the developer web site. The app was on a drive from a MacBook Pro I previously used. I had the drive in an external enclosure. I received this message trying to run it. Same message from both Finder and Terminal execution.

    In preparation for running the xattr command, I copied the app folder from the external drive onto my current Mac’s desktop. And running that copy worked! YMMV, but it is worth a try.

    Reply
  3. erich viedge says

    December 31, 2021 at 8:34 AM

    I bought a refurbished Macbook Pro from the local Apple distributors themselves. Some apps, even downloaded from the App Store, simply refuse to run. They are “damaged and can’t be opened.” I’ve turned off Gatekeeper, I’ve cleared the extended attributes, I’ve even disabled the System Integrity. I’ve deleted and reinstalled many times. I’m running the latest Big Sur release.
    I’m at a loss as to what to do. I think I must clear the Mac completely and reinstall from scratch. I’m worried if I do so it will make the problem worse, not better. sigh. Anybody?

    Reply
  4. Alex says

    April 11, 2021 at 3:45 AM

    I have a problem with this site. It won’t allow viewing through a VPN. Can you recommend a fix without having to drop the VPN connection?

    Reply

Primary Sidebar

Recent Posts

  • Apple Data Collection: What Does It Know About You?
  • Can’t Set Up HomePod? How-to Fix
  • Apple Watch Tips and Tricks for 2023
  • How to Show and Hide Recent and Suggested Apps in Your iPad Dock
  • The Best iOS Apps and macOS Apps: January 2023
  • The Best iPad Tips and Tricks to Turn You into a Power User

Connect with us

Footer

ABOUT

  • About Us
  • Contact us
  • Advertise
  • Privacy
  • Terms of Use

GUIDES

  • iOS 13 & iPadOS
  • Apple ID
  • iCloud
  • App Store
  • iTunes
  • FaceTime
  • iMessage
  • Siri
  • Books and iBooks
  • Game Center
  • AirPlay

CONNECT

  • Facebook
  • Twitter
  • FeedBurner
  • YouTube

© Copyright 2010-2023 Guiding Tech Media · All Rights Reserved

This site and its content are in no way affiliated or endorsed by Apple, Inc. · Reproduction without explicit permission is prohibited