'FrameworkName' is not a member type of 'FrameworkName' errors inside swiftinterface

There isn’t currently a way to have the interface automatically validated. There is a compiler mode, -compile-module-from-interface, that you could probably use in a build step or something to manually validate the interface.