<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">Since moving a mixed Swift and Objective-c project to XCode 8 with Swift 2.3, I have been getting a &quot;Command failed due to signal: Segmentation fault: 11&quot; error every time I run my tests after making a change in any of the test files.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">When I click on the error for more information I see:</p><pre class="gmail-default gmail-prettyprint gmail-prettyprinted" style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;font-size:13px;width:auto;max-height:600px;overflow:auto;font-family:consolas,menlo,monaco,&quot;lucida console&quot;,&quot;liberation mono&quot;,&quot;dejavu sans mono&quot;,&quot;bitstream vera sans mono&quot;,&quot;courier new&quot;,monospace,sans-serif;background-color:rgb(239,240,241);color:rgb(57,51,24);word-wrap:normal"><code style="margin:0px;padding:0px;border:0px;font-family:consolas,menlo,monaco,&quot;lucida console&quot;,&quot;liberation mono&quot;,&quot;dejavu sans mono&quot;,&quot;bitstream vera sans mono&quot;,&quot;courier new&quot;,monospace,sans-serif;white-space:inherit"><span class="gmail-tag" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">&lt;module-includes&gt;</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">:1:9: note: in file included from </span><span class="gmail-tag" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">&lt;module-includes&gt;</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">:1: 
#import &quot;Headers/Utilities.h&quot;
    ^
/Users/.../Utilities.framework/Headers/Utilities.h:18:9: error: include of non-modular header inside framework module &#39;Utilities&#39;
#import </span><span class="gmail-tag" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">&lt;Utilities</span><span class="gmail-pun" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">/</span><span class="gmail-atn" style="margin:0px;padding:0px;border:0px;color:rgb(230,67,32)">NSString</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">+</span><span class="gmail-atn" style="margin:0px;padding:0px;border:0px;color:rgb(230,67,32)">Utilities</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="gmail-atn" style="margin:0px;padding:0px;border:0px;color:rgb(230,67,32)">h</span><span class="gmail-tag" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">&gt;</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
^</span></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">And basically just a bunch of similar errors following that ending in:</p><pre class="gmail-default gmail-prettyprint gmail-prettyprinted" style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;font-size:13px;width:auto;max-height:600px;overflow:auto;font-family:consolas,menlo,monaco,&quot;lucida console&quot;,&quot;liberation mono&quot;,&quot;dejavu sans mono&quot;,&quot;bitstream vera sans mono&quot;,&quot;courier new&quot;,monospace,sans-serif;background-color:rgb(239,240,241);color:rgb(57,51,24);word-wrap:normal"><code style="margin:0px;padding:0px;border:0px;font-family:consolas,menlo,monaco,&quot;lucida console&quot;,&quot;liberation mono&quot;,&quot;dejavu sans mono&quot;,&quot;bitstream vera sans mono&quot;,&quot;courier new&quot;,monospace,sans-serif;white-space:inherit"><span class="gmail-tag" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">&lt;unknown&gt;</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">:0: error: could not build Objective-C module &#39;Utilities&#39;</span></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">Utilities in this case is a framework that I made. All of the headers in the Utilities.h file are imported with angle brackets and the headers are marked as public.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">After it segfaults, it will run properly until I make a change to the test file. It only has this issue when testing, not when building or running.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">Other things I&#39;ve tried:</p><ul style="margin:0px 0px 1em 30px;padding:0px;border:0px;font-size:15px;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif"><li style="margin:0px 0px 0.5em;padding:0px;border:0px;word-wrap:break-word">Changing the framework and tests to allow non modular includes</li><li style="margin:0px;padding:0px;border:0px;word-wrap:break-word">Enabling/disabling bitcode</li></ul><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">Any help would be appreciated.</p></div>