Open jmbly opened 1 year ago
Also happening in 1.7.4:
`Last 15 lines from /Users/redacted/Library/Logs/Homebrew/wallpapper/01.swift: swift build --disable-sandbox --configuration release
warning: /Users/redacted/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level configuration features. warning: /Users/redacted/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level security features. warning: /Users/redacted/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features. warning: 'wallpapper-1.7.4': failed loading cached manifest for 'wallpapper-1.7.4': Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/redacted/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x600003d0d7a0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} warning: 'wallpapper-1.7.4': failed closing cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/redacted/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x600003d00000 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} error: 'wallpapper-1.7.4': Invalid manifest /private/tmp/wallpapper-20230216-3341-fu0jlh/wallpapper-1.7.4/Package.swift:2:8: error: no such module 'PackageDescription' import PackageDescription ^`
I solved it by running: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
thanks to https://forums.kodeco.com/t/server-error-no-such-module-packagedescription/177438
@ac-cymk Thank you.
Terminal error when installing from homebrew in macOS 13.2 Ventura: