|
| 1 | +--- |
| 2 | +layout: default-layout |
| 3 | +noTitleIndex: true |
| 4 | +needAutoGenerateSidebar: true |
| 5 | +title: Why Do I Get a "File is Damaged and Can’t Be Opened" Error When Using the Dynamic Web TWAIN on macOS? |
| 6 | +keywords: Dynamic Web TWAIN, macos, Damaged, can't be opened |
| 7 | +breadcrumbText: Why Do I Get a "File is Damaged and Can’t Be Opened" Error When Using the Dynamic Web TWAIN on macOS? |
| 8 | +description: Why Do I Get a "File is Damaged and Can’t Be Opened" Error When Using the Dynamic Web TWAIN on macOS? |
| 9 | +date: 2025-12-08 07:56:47 +0800 |
| 10 | +last_modified: 2025-12-08 07:56:47 +0800 |
| 11 | +--- |
| 12 | + |
| 13 | +# Why Do I Get a "File is Damaged and Can’t Be Opened" Error When Using the Dynamic Web TWAIN on macOS? |
| 14 | + |
| 15 | +### Symptom |
| 16 | + |
| 17 | +When attempt to use the scanner on macOS, an error message states “<xxx.ds> is damaged and can’t be opened”. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +### Reason |
| 22 | + |
| 23 | +This issue is caused by macOS Gatekeeper, a security feature that blocks applications that are unsigned or not notarized when the file carries a quarantine attribute. The file itself is not damaged but Gatekeeper prevents it from running. |
| 24 | + |
| 25 | +The error message may also show an outdated download time, for example “Safari downloaded this file on `June 18, 2019`”, even on a new computer. This happens because macOS preserves the quarantine metadata when the file has been copied from sources such as: |
| 26 | + |
| 27 | +- An old computer |
| 28 | +- A USB drive |
| 29 | +- A company server |
| 30 | +- A backup (e.g., Time Machine restore) |
| 31 | + |
| 32 | +### Resolution |
| 33 | + |
| 34 | +This issue is not related to our product but stems from the unsigned driver. |
| 35 | + |
| 36 | +- Temporary Fix: Click “OK” on the error dialog. The driver often works normally afterward. |
| 37 | + |
| 38 | +- Permanent Fix (if error persists): Remove the “quarantine” attribute via Terminal: |
| 39 | + - Open Terminal (/Applications/Utilities). |
| 40 | + - Run this command: |
| 41 | + ```bash |
| 42 | + sudo xattr -rd com.apple.quarantine /Applications/{YourDriver}.app |
| 43 | + ``` |
| 44 | + |
| 45 | +<div class="blockquote-warning"></div> |
| 46 | +> Only disable checks for trusted files. Verify the driver’s source is safe before proceeding. |
0 commit comments