CodeEditApp / CodeEditApp/CodeEditCLI
Brew formula installation fail
- 主要語言
- Swift
- 星號
- 81
- 分支
- 19
- PR 合併指標
- 30 天內沒有已合併 PR
描述
The homebrew installation fail at build phase
```
swift build -c release --disable-sandbox
warning: /Users/cedricloneux/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level configuration features.
warning: /Users/cedricloneux/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level security features.
warning: /Users/cedricloneux/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features.
warning: 'codeeditcli-0.0.9': failed loading cached manifest for 'codeeditcli-0.0.9': Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/cedricloneux/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x600002d37780 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
warning: 'codeeditcli-0.0.9': 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/cedricloneux/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x600002d20750 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
error: 'codeeditcli-0.0.9': Invalid manifest
/private/tmp/codeedit-cli-20230226-34880-1i80xsc/CodeEditCLI-0.0.9/Package.swift:4:8: error: no such module 'PackageDescription'
import PackageDescription
^
make: *** [build] Error 1
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Reproduce the Homebrew installation with `swift build -c release --disable-sandbox` and inspect `Package.swift` at the reported `PackageDescription` import. Confirm whether the build still fails with the same manifest and permission errors; the issue is complete only when the installation succeeds or the required fix is clearly identified.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- swift
- 領域
- build-system, cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100