coherentgraphics / cpdf-binaries

PDF Command Line Tools binaries for Linux, Mac, Windows
GNU Affero General Public License v3.0
593 stars 42 forks source link

cpdf on macos Ventura #75

Closed vosslab closed 1 year ago

vosslab commented 1 year ago

cannot run cpdf despite many tries, only gives the option:

"“cpdf” will damage your computer. You should move it to the Trash."

anyone else find a solution

johnwhitington commented 1 year ago

Sorry, you said macos Ventura in the title. Instructions to follow.

johnwhitington commented 1 year ago

Did you follow these instructions from the README?

'MacOS: The executable is codesigned, but not notarized. If it refuses to run the first time, go to System Preferences --> Security & Privacy --> General and click "Allow anyway".'

Also, please make sure you are downloading the "master" zip, not a versioned github tag.

vosslab commented 1 year ago

That does not appear to be an option in Ventura

I did not get the zip file, so I will try that

johnwhitington commented 1 year ago

I get this:

Untitled

So I go to preferences and click on Open Anyway:

Untitled 2

Then I get this:

Untitled 3

I click Ok, and type in my admin password. Then I can run cpdf:

Untitled 4

johnwhitington commented 1 year ago

Perhaps the README should link to a webpage showing these screenshots. I'll note that for the next release.

johnwhitington commented 1 year ago

Oh, you might need to also choose "App Store and Identified developers" too - that's why you might be seeing different messages from me - note I didn't see anything about "move it to trash".

vosslab commented 1 year ago

Are using macos Ventura 13.1. I had cpdf working on the previous versions of macos.

Screenshot 2023-02-04 at 12 04 23 PM
  1. wget -c 'https://github.com/coherentgraphics/cpdf-binaries/archive/refs/tags/v2.5.1.zip'
  2. unzip v2.5.1.zip
  3. cd cpdf-binaries-2.5.1/OSX-ARM/
  4. ./cpdf
Screenshot 2023-02-04 at 12 03 48 PM Screenshot 2023-02-04 at 12 04 01 PM
johnwhitington commented 1 year ago

Please see my previous suggestion to download master, not v2.5.1...

vosslab commented 1 year ago

Sorry, about the master part. That worked! Thanks!

  1. wget -c 'https://github.com/coherentgraphics/cpdf-binaries/raw/master/OSX-ARM/cpdf'
  2. chmod 755 cpdf
  3. ./cpdf
  4. pop saying cannot check
  5. System Preferences --> Security & Privacy --> General and click "Allow anyway".'
  6. ./cpdf
  7. works I was not sure where to find the master ZIP
johnwhitington commented 1 year ago

Great! Glad it's working.