[swift-users] How to define interdependent modules in a package?

Tarun Joshi tj.joshi7 at gmail.com
Tue Dec 22 20:43:11 CST 2015


> Is this in your package file?
> targets: [
>     Target(
>         name: "Foo",
>         dependencies: [.Target(name: "Bar")]),
>     Target(
>         name: "Bar")

No. So for each module I write, I need to specify all the imported
stuff as dependency?
Shouldn't this be automatically picked in the build phase by seeing
imports in a file. Am I expecting too much?


-- 
Regards,
`Tarun`


More information about the swift-users mailing list