PDF file "is damaged" trying to open in Books

I have some PDF ebooks I would like to open in Books. They open fine in Adobe Acrobat (my default app for PDFs, which I need to keep as my default PDF open setting for work reasons), and also in Preview if I select that from ctrl + click > "Open With."


However, if I try Open With > Books, or go to Get Info and change the "Open with" there to Books, and then try to open it either from the Finder or from Books after importing it, I get the error message "XXXX.pdf is damaged and can’t be opened. You should move it to the Trash." When I hit cancel in that popup I get a secondary error, "The application “Preview.app” can’t be opened. -128".


For the one file I'm mainly concerned about I have tried: downloading it from the site again in Safari; downloading it from my Dropbox and then my Drive; and using Preview to export it as a new PDF and try to open that. I tried a solution from another answer about using a terminal command to remove the "quarantine" attribute, and that also did not work. When I go to Security and Privacy I can't access Gatekeeper settings even after clicking the lock and entering my admin password (which may be a whole other problem, who knows).


I can open it in Books on my iPhone fine, but I really wanted to be able to read this file in particular on the bigger screen on my Mac since it's designed to be viewed in a 2-page side by side display. (And I realized while trying this that it throws the same error for a number of other PDF ebooks I've imported but hadn't tried to read yet.) Is there any other option to get it to trust the files?

MacBook Air 13″, macOS 12.6

Posted on Nov 8, 2022 06:46 PM

Reply
3 replies

Nov 10, 2022 06:01 PM in response to swordsandcups

Hello swordsandcups,


Welcome to Apple Support Communities. Let's boot into safe mode and test to see if you can replicate the issue. This will help us further isolate the issue. Here's how:


Start up your Mac in safe mode


Next, let's try testing to see if we can reproduce the behavior in a new user account. That can help isolate whether the issue is system wide, or account specific. 


The following article explains how to set up, and test in a new user: Change Users & Groups settings on Mac - Apple Support


Let us know the results. Kind regards.




Nov 10, 2022 07:12 PM in response to nbotros

Hi, nbotros,


Starting it in safe mode had the exact same results.


Trying it in a new admin user account had slightly different results but I still wasn't able to open the file in Books. When I downloaded the PDF ebook and tried opening it in Books, I got the warning message indicating it couldn't be opened because the developer couldn't be verified. That message persisted despite my selecting "Open" in all the confirmation screens.

At that point when I went to Security and Privacy, I did have the option to select the file and open it anyway. It then would let me open my test file and an additional PDF ebook without throwing an error. However, they still only opened in Preview, even if I set the default for all PDFs to open in Books.


Thanks!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

PDF file "is damaged" trying to open in Books

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.