Skip to content

Commit 988459e

Browse files
committed
add a new faq
add a new faq -- File is Damaged and Can’t Be Opened
1 parent 96cfb50 commit 988459e

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

_articles/faq/file-damaged-on-macos.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ layout: default-layout
33
noTitleIndex: true
44
needAutoGenerateSidebar: true
55
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
6+
keywords: Dynamic Web TWAIN, macos, Damaged, can't be opened
77
breadcrumbText: Why Do I Get a "File is Damaged and Can’t Be Opened" Error When Using the Dynamic Web TWAIN on macOS?
88
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-05 07:56:47 +0800
10-
last_modified: 2025-12-05 07:56:47 +0800
9+
date: 2025-12-08 07:56:47 +0800
10+
last_modified: 2025-12-08 07:56:47 +0800
1111
---
1212

1313
# Why Do I Get a "File is Damaged and Can’t Be Opened" Error When Using the Dynamic Web TWAIN on macOS?
@@ -16,11 +16,13 @@ last_modified: 2025-12-05 07:56:47 +0800
1616

1717
When attempt to use the scanner on macOS, an error message states “<xxx.ds> is damaged and can’t be opened”.
1818

19+
![ds-is-damaged](/assets/imgs/ds-is-damaged.png)
20+
1921
### Reason
2022

21-
This error arises from macOS Gatekeeper, a built-in security feature that blocks unsigned files. The driver lacks a valid Apple developer signature, so macOS tags it with a “quarantine” attribute and prevents execution.
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.
2224

23-
The error may also show an old download date (e.g., “Safari downloaded this file on June xx, xxxx”) even if the file is new. This occurs because macOS retains the quarantine metadata when the file is transferred from:
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:
2426

2527
- An old computer
2628
- A USB drive
@@ -31,10 +33,14 @@ The error may also show an old download date (e.g., “Safari downloaded this fi
3133

3234
This issue is not related to our product but stems from the unsigned driver.
3335

34-
- Temporary Fix: Click “OK” on the error dialog. The driver often works normally afterward, as macOS may relax enforcement after initial blocking.
36+
- Temporary Fix: Click “OK” on the error dialog. The driver often works normally afterward.
37+
3538
- Permanent Fix (if error persists): Remove the “quarantine” attribute via Terminal:
3639
- Open Terminal (/Applications/Utilities).
37-
- Run this command (replace /path/to/driver with the actual file path, e.g., /Applications/YourDriver.app):
40+
- Run this command:
3841
```bash
39-
sudo xattr -rd com.apple.quarantine /path/to/driver
42+
sudo xattr -rd com.apple.quarantine /Applications/{YourDriver}.app
4043
```
44+
45+
<div class="blockquote-warning"></div>
46+
> Only disable checks for trusted files. Verify the driver’s source is safe before proceeding.

_articles/faq/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ description: Dynamic Web TWAIN SDK Documentation FAQ
208208
31. [Dynamic Web TWAIN prompts the .deb installer for Windows](/_articles/faq/incorrect-installer-for-windowsARM64.md)
209209
32. [Why am I unable to load the TIFF file into Dynamic Web TWAIN?](/_articles/faq/unable-to-load-4-bit-tiff.md)
210210
33. [Error message - CORS Errors caused by local network access permissions when using Chromium 142 and later](/_articles/faq/chromium-142-local-network-access-issue.md)
211+
34. [Error message - File is Damaged and Can’t Be Opened in macOS](/_articles/faq/file-damaged-on-macos.md)
211212

212213
## Licensing and Purchase
213214

assets/imgs/ds-is-damaged.png

220 KB
Loading

0 commit comments

Comments
 (0)