Hm, it definitely shouldn't be importing the app (since there's not a real Objective-C module there). This might be a known issue, but I'm not sure offhand. Can you file an issue at bugs.swift.org <http://bugs.swift.org/>?
> On Dec 9, 2016, at 09:10, David Catmull via swift-users > <swift-users@swift.org> wrote: > > In my test target, when I include the Test-Swift.h file, there is a line that > says "@import MyAppName" which yields the error "Module 'MyAppName' not > found". Turning on the Defines Module setting for my app target didn't help. > So why is that import there, and what is required for it to be found? > _______________________________________________ > swift-users mailing list > swift-users@swift.org > https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users