Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
I have type Magazine declared in two frameworks.
So I get 'Magazine' is ambiguous for type lookup in this context error.
When I add the correct prefix Book.Magazine, I get 'Magazine' is not a member type of 'Book', because there is a type Book as well.
It's not possible to specify the correct namespace, because the compiler is looking for nested class with the same name instead.
Similar issue: https://forums.developer.apple.com/thread/47421