I believe that you want to organize your sources as follows (based on the following comment):
Foo/Package.swift
Foo/Sources/Foo/Living.swift
Foo/Sources/Foo/Specifies/Bird.swift
Foo/Sources/Foo/Specifies/Fish.swift
Foo/Sources/Foo/Specifies/Human.swift
, , , , Sources. , , , . . .
, Swift ( swift.org), Xcode , .
, , , , .