Amar Kulo

Me and my unorganized thoughts

How to reinstall macOS when you get “application is damaged” error

Today I was trying to reinstall an older Mac Mini and installation keep failing with error: “This copy of the Install macOS application is damaged, and can’t be used to install macOS.”

I have tried Yosemite, High Sierra beta (the latest one b6) but still the same error happened so I started wondering why it would fail. One look in the terminal on date and time showed that Mini thought it’s 2001 so package couldn’t be verified and thus installed as verification failed.

So I run following command to set today’s date and time:

date 0818134217

After the date and time were updated to today’s date and installation went on without any problems.

Here is how to use date command:

date — display or set date and time

date [-jnu] [[[mm]dd]HH]MM[[cc]yy][.ss]

So in my case it was:

  • 08 – month
  • 18 – day
  • 13 – hour
  • 42 – minutes
  • 17 – year

This might save you some time.


  1. Thanks for this – saved me a lot of mucking about.

    • amar

      2017-11-11 at 15:50

      Great, I know I lost quite a lot of time to get it working, message is not self explanatory. I have redownloaded installation files multiple times.

  2. Yes man it really helped after upgrading ssd , when I disconnected battery cable it seems forgot the date ,

Leave a Reply

Your email address will not be published.


© 2018 Amar Kulo

Theme by Anders NorenUp ↑