DropSpec icon indicating copy to clipboard operation
DropSpec copied to clipboard

Missing interpreter

Open sjogro opened this issue 2 years ago • 3 comments

Hello, after downloading release 1.1.2.1 and moving DropSpec.app to the Applications folder, opening the app (and/or dropping files on the app icon) results in this error: Schermafbeelding 2022-08-29 om 09 35 46 Additionally I have tried running sudo spctl --master-disable in Terminal, which didn't change the outcome. I have not ever run DropSpec before so the issue might not be related to this specific release, rather to my system.

iMac (Retina 5K, 27-inch, 2019) 3,6 GHz 8-Core Intel Core i9 48 GB 2667 MHz DDR4 macOS Monterey 12.5.1

If there are some pre-setup instructions to resolve this I would love to learn them.

sjogro avatar Aug 29 '22 07:08 sjogro

  • I have installed php through homebrew: brew install php
  • I have editted the .plist: nano /Applications/DropSpec.app/Contents/Resources/AppSettings.plist
  • changed the line /usr/bin/php to /usr/local/opt/php
  • Now DropSpec opens, but it seems to be stuck on opening, none of the buttons or menu's are responsive; Schermafbeelding 2022-08-29 om 10 02 59

... anything else I can do?

sjogro avatar Aug 29 '22 08:08 sjogro

bump

virtualcrane avatar Jun 14 '23 17:06 virtualcrane

~~Also running into this issue, would love to find out how to fix it.~~

Fixed this by editing AppSettings.plist to use the standard path for PHP when installed with Homebrew.

Replace the following:

<key>InterpreterPath</key>
	<string>/usr/bin/php</string>

with this:

<key>InterpreterPath</key>
	<string>/opt/homebrew/bin/php</string>

I also changed the behavior of the app upon launch so that it prompts for a file rather than use the current Finder directory by replacing false with true in this part of the .plist:

<key>PromptForFileOnLaunch</key>
	<true/>

Hope this helps anyone.

jslpc avatar Aug 05 '23 04:08 jslpc