[swift-users] Module not found in Test-Swift.h

David Catmull davidcatmull at gmail.com
Fri Dec 9 12:20:40 CST 2016


Done: https://bugs.swift.org/browse/SR-3381

Any suggestions for a workaround? Or should I watch the bug report for that?

On Fri, Dec 9, 2016 at 10:59 AM, Jordan Rose <jordan_rose at apple.com> wrote:

> 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?
>
> On Dec 9, 2016, at 09:10, David Catmull via swift-users <
> swift-users at 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 at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20161209/b32b48ad/attachment.html>


More information about the swift-users mailing list