[swift-users] [package-mananger] Interdependent modules with system module
Daniel Eggert
danieleggert at me.com
Mon Jan 11 04:59:08 CST 2016
Are interdependent modules not supported when they include system modules?
I have a setup with a single system module and a single, normal module:
% find .
.
./Package.swift
./Sources
./Sources/CDispatch
./Sources/CDispatch/module.modulemap
./Sources/Hello
./Sources/Hello/main.swift
% cat Package.swift
import PackageDescription
let package = Package(
name: "Hello",
targets: [
Target(
name: "Hello",
dependencies: [.Target(name: "CDispatch")]),
Target(
name: "CDispatch")
]
)
But it fails to build:
% swift build
error: The manifest describes a target that cannot be found in your source tree: CDispatch
/Daniel
More information about the swift-users
mailing list