CodeEditApp / CodeEditApp/CodeEditCLI

Brew formula installation fail

未关闭
#27 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

使用 `swift build -c release --disable-sandbox` 重现 Homebrew 安装,并检查报告中的 `PackageDescription` import 所在的 `Package.swift`。确认 build 是否仍因相同的 manifest 和权限错误而失败;只有在安装成功或明确确定所需的 fix 后,该 issue 才算完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
swift
领域
build-system, cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。