jeantil/autokbisw

Xcode requirement ?

z0ph opened this issue · 9 comments

z0ph commented

Do we really need to install the full Xcode bundle? It's really heavy in terms of GB for my laptop.

hi,

you only need to install XCode if you want to build the application from source.
If are willing to install pre-built binaries, you can use either brew or manually install from the release page

z0ph commented

I've got this message using brew

> brew install jeantil/autokbisw/autokbisw
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Installing autokbisw from jeantil/autokbisw
autokbisw: A full installation of Xcode.app is required to compile
this software. Installing just the Command Line Tools is not sufficient.

Xcode can be installed from the App Store.
Error: An unsatisfied requirement failed this build.

Indeed, that's probably because there is no 'bottled' binary for your version of Mac OS. Unfortunately my macbook pro started showing worrying signs before MBP 16 got out. I moved to a linux laptop and don't work on mac much anymore. I'll see if the MBP is willing to boot, update and package a new version but I won't commit to a timeframe.

If you need it quickly you can install xcode to build the tool and remove it afterwards. unfortunately I don't think it is possible to partially install xcode.

z0ph commented

Ok merci Jean :)

I tried adding a mojave bottle to the brew formula (I have almost no idea what I'm doing,I hopefully haven't broken the formula). re-reading the corresponding merge requests jeantil/homebrew-autokbisw#1 it looks like adding new bottles should not be required as long as your Mac OS is high_sierra or newer.

Can you tell me which version of Mac OS you are running ?

z0ph commented

I was running High Sierra and now Catalina, same issue. I'm installing Xcode right now.

z0ph commented

Done:

> brew install jeantil/autokbisw/autokbisw
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
homebrew/cask/riot

==> Installing autokbisw from jeantil/autokbisw
==> Downloading https://github.com/jeantil/autokbisw/releases/download/1.2.0/autokbisw-1.2.0.high_sierra.bottle.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/74673751/c48e3400-024a-11e9-8e96-8aac8b50311a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A
######################################################################## 100.0%
==> Pouring autokbisw-1.2.0.high_sierra.bottle.tar.gz
==> Caveats
To have launchd start jeantil/autokbisw/autokbisw now and restart at login:
  brew services start jeantil/autokbisw/autokbisw
==> Summary
🍺  /usr/local/Cellar/autokbisw/1.2.0: 5 files, 10.5MB