mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer
MIT License
3.32k stars 137 forks source link

Activation of SDK from Xcode necessary #67

Open JimCEB opened 1 year ago

JimCEB commented 1 year ago

Hi @mczachurski, first, thank you very much for the distribution of this nice tool.

When installing wallpapper via swift build --configuration release in the terminal on my M1Pro MacBook (macOS 12.6.2) I got the following error: ... Package.swift:2:8: error: no such module 'PackageDescription'import PackageDescription

It turned out that this is caused by the the Command Line Tools package being active as pointed out here link by @vzsg.

This can be changed by installing xcode and executing the following command: sudo xcode-select -s /Applications/Xcode.app

Maybe this could be mentioned in the installation guide.

Best,

Jim

awesmubarak commented 1 year ago

I just had this issue while trying to install, and the solution fixed it for me. Thanks!