kristiinara / homebrew-SwiftDependencyChecker

Homebrew formula for SwiftDependencyChecker
0 stars 0 forks source link

import PackageDescription Issue while Installing #1

Open Himanshu022 opened 1 year ago

Himanshu022 commented 1 year ago

I am facing one issue while installing

warning: /Users/hashstudioz/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level configuration features. warning: /Users/hashstudioz/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level security features. warning: /Users/hashstudioz/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features. warning: 'swiftdependencychecker-0.2.0': failed loading cached manifest for 'swiftdependencychecker-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/hashstudioz/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x600003c600f0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} warning: 'swiftdependencychecker-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/hashstudioz/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x600003c5c3f0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} error: 'swiftdependencychecker-0.2.0': Invalid manifest /private/tmp/swiftdependencychecker-20230517-77807-fq51s9/SwiftDependencyChecker-0.2.0/Package.swift:4:8: error: no such module 'PackageDescription' import PackageDescription

kristiinara commented 1 year ago

Hi! Are you able to write to the /Users/hashstudioz/Library/ from the command line? I think this might be an issue with the macOS TCC permissions. Could you confirm that you can access the folder form the terminal where you are installing SwiftDependencyChecker?