alienator88 / Pearcleaner

A free, source-available and fair-code licensed mac app cleaner
https://itsalin.com/appInfo/?id=pearcleaner
Other
745 stars 18 forks source link

"lipo" command requires command line developer tools prompt on latest update (3.75) #72

Closed mjoshea148 closed 2 days ago

mjoshea148 commented 2 days ago

Starting Pearcleaner results in prompt to install command line tools to execute the lido command.

Appears to be new behavior. Don't otherwise need command line tools.

Steps to reproduce:

  1. Start Pearcleaner 3.75
  2. Observe dialog to install command line tools
  3. App appears to function normally otherwise

Unsure if this is a new requirement or bug.

alienator88 commented 2 days ago

Good catch, was actually not aware that the lipo command didn't come installed by default. Obviously I have xcode installed so didn't get this popup 😂 I'll work on this and get something out for next update.

alienator88 commented 2 days ago

So I'm running into some confusion here. I checked 3 fresh macOS installs on different OS versions and they all come with the lipo command installed by default even when xcode command line tools is not installed.

> which lipo
/usr/bin/lipo

Either way, I'll switch to using the /usr/bin/file command which I'm 100% sure it's there by default just in case.

alienator88 commented 2 days ago

If you run which file on your system in Terminal, do you get the path I mentioned above?

mjoshea148 commented 2 days ago

Confirmed - same path.

alienator88 commented 2 days ago

Cool, I'll release the update shortly using file instead of lipo.

alienator88 commented 2 days ago

v3.7.6 out now

mjoshea148 commented 2 days ago

Confirmed fix works :). Thank you. Please consider a career at any major software company. Not used to this kind of support!

alienator88 commented 2 days ago

😂 I'll do my best! Thanks, I appreciate it.