Closed Patronics closed 3 years ago
Hi,
You can always build manually:
$ git clone https://github.com/mczachurski/wallpapper.git
$ cd wallpapper
Now you can modify Package.swift
file (set proper Swift version). And run following commands:
swift build --configuration release
sudo cp .build/release/wallpapper /usr/local/bin
sudo cp .build/release/wallpapper-exif /usr/local/bin
Thanks, that worked perfectly, just had to change the very first line's 5.2 to 5.1. It'd probably be helpful to add this to the readme, for anyone else still using Mojave.
Also worth noting that I didn't need to use sudo for those commands, and you typically shouldn't unless your /usr/local/bin permissions have been changed away from the default.
Also, is there anything that breaks when using swift-tools 5.1 instead of 5.2? If not, given that it seems to specify the minimum version required, I think it'd probably be better to change the file to use 5.1 by default.
This is failing to install for me in the latest version of Mojave using homebrew, it gives the following output:
I have already attempted reinstalling the Xcode developer tools as the homebrew warning advised, with no change in the output. It seems that the current release is using too new a version of the swift API, is there any way to install an older release that does support Mojave?
I also have Xcode 11.3.1 installed, as the latest version supported on Mojave, and did attempt the fix listed under Troubleshooting in the readme, with, again, no apparent effect.