尝试包含目标依赖项时出现错误:The manifest describes a target that cannot be found in your source tree: parser
这是我的 Package.swift 文件:
import PackageDescription
let package = Package(
name: "Phoenix",
targets: [
Target(
name: "Phoenix",
dependencies: [.Target(name: "parser")]),
Target(
name: "parser")
]
)
我遵循此处描述的格式:https ://github.com/apple/swift-package-manager/blob/master/Documentation/Package.swift.md