Skip to content

Commit 5f55f7d

Browse files
authored
Merge pull request #955 from dynamsoft-docs/jackson-preview
Jackson preview
2 parents a9e4c81 + 988459e commit 5f55f7d

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
![ds-is-damaged](/assets/imgs/ds-is-damaged.png)
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.

_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)