Skip to content

Commit 96cfb50

Browse files
committed
Create file-damaged-on-macos.md
add new faq, not completed.
1 parent a9e4c81 commit 96cfb50

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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
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-05 07:56:47 +0800
10+
last_modified: 2025-12-05 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+
### Reason
20+
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.
22+
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:
24+
25+
- An old computer
26+
- A USB drive
27+
- A company server
28+
- A backup (e.g., Time Machine restore)
29+
30+
### Resolution
31+
32+
This issue is not related to our product but stems from the unsigned driver.
33+
34+
- Temporary Fix: Click “OK” on the error dialog. The driver often works normally afterward, as macOS may relax enforcement after initial blocking.
35+
- Permanent Fix (if error persists): Remove the “quarantine” attribute via Terminal:
36+
- Open Terminal (/Applications/Utilities).
37+
- Run this command (replace /path/to/driver with the actual file path, e.g., /Applications/YourDriver.app):
38+
```bash
39+
sudo xattr -rd com.apple.quarantine /path/to/driver
40+
```

0 commit comments

Comments
 (0)