Closed miranquil closed 5 years ago
@yorushika this should help:
$ sudo xcode-select -switch /Applications/Xcode.app
$ git clone git@github.com:Nyx0uf/qlImageSize.git
$ cd qlImageSize
$ xcodebuild
$ cp -R build/Release/qlImageSize.qlgenerator ~/Library/QuickLook/qlImageSize.qlgenerator
$ qlmanage-r
@yorushika this should help:
- Verify that Xcode installed (use this guide if not).
- Set Xcode as build tool:
$ sudo xcode-select -switch /Applications/Xcode.app
- Clone this repo:
$ git clone git@github.com:Nyx0uf/qlImageSize.git
- Go inside:
$ cd qlImageSize
- Build it:
$ xcodebuild
- Copy release to QuickLook folder:
$ cp -R build/Release/qlImageSize.qlgenerator ~/Library/QuickLook/qlImageSize.qlgenerator
- Reload QuickLook generators:
$ qlmanage-r
That helped a lot! Many thanks!
Now I understand Homebrew or installer are no longer supported, then how should I build from souce code? I'm new for macOS, please help and thanks for your kindness.