warning: Swift error in module. Debug info from this module will be unavailable in the debugger : <p>I have no debugging values in my console for my swift + obj-c app, and I get a really unhelpful message that explains why the debugger isn't working: "warning: Swift error in module XXX.". XXX is the name of my module, not a 3rd party that I include.</p>

<p>My app has been around before swift. I used the bridging header to start using swift, and I recently use the xcode tool to migrate all the swift 2 files to swift 3. (but I still have obj-c legacy in there). I use cocoa pods, which may be contributing to the problem.</p>

<p><a href="https://i.stack.imgur.com/DVNhz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DVNhz.png" alt="no debugger information..."></a></p>

<p><code>
(lldb) po self
warning: Swift error in module XXX.
Debug info from this module will be unavailable in the debugger.
</code></p>

<p>I tried following the second answer to this <a href="https://stackoverflow.com/questions/39467654/cannot-debug-swift-module-framework-embedded-in-objective-c-app">post</a> and a couple others 
I have found that suggest the same thing: remove duplicate imports.</p>

<p>I tried removing duplicate imports from my swift project. In fact if I run <code>find . -name "*swift" | xargs grep "import"</code> and I get no results. So I went to the extreme of removing all imports from all of my swift files (and commenting out code to get it to compile) just to see if I can get my debugger to come back.</p>

<p>So...</p>

<ul>
<li>Is there another solution to this problem?</li>
<li>Is there a way to get a more detailed error message?</li>
<li>Is it a problem to have duplicate headers in the my bridging header? For example, a lot of my obj-c files import UIKit, and I include a few of those files in the bridging header. </li>
</ul>
