BergQuester/CardVision

Brew Install fails

Opened this issue · 1 comments

Not sure what to do about this:

warning: /Users/omars/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level configuration features.
warning: /Users/omars/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level security features.
warning: /Users/omars/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features.
warning: 'cardvision-0.2.0': failed loading cached manifest for 'cardvision-0.2.0': Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/omars/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x6000037d6490 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
warning: 'cardvision-0.2.0': 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/omars/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x6000037c8060 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
error: 'cardvision-0.2.0': Invalid manifest
/private/tmp/cardvision-20230211-20901-rf0hrh/CardVision-0.2.0/Package.swift:4:8: error: no such module 'PackageDescription'
import PackageDescription

This is a file permission issue. I would try sudo chmod -R 755 /Users/omars/Library/org.swift.swiftpm/ to fix permissions. You could try deleting the folder and running again as well.