<div dir="ltr"><div>Hey swift-users,</div><div><br></div><div>I&#39;m experiencing a linking issue that causes builds to sometimes complete and sometimes fail, without code changes. I&#39;m not sure if the problem is with Swift, Xcode, or my usage of either.</div><div><br></div><div>My Xcode 7.3 project target is a Swift framework with no dependencies other than Foundation. Compiling always succeeds, but linking fails about 75% of the time with errors like the following:</div><div><br></div><div><font face="monospace, monospace">Undefined symbols for architecture x86_64: &quot;__TWPuRx16ostrichframework11OperandTypexS_8ReadablexS_9WriteablewxPS1_8ReadTypezVs6UInt16wxPS2_9WriteTypezS4_ERRzS4_ERRzS4_ERRzSiERRzSiERRzSiERRzSirGVS_5DEC16x_S_11InstructionS_&quot;, referenced from:</font></div><div><font face="monospace, monospace">      ostrichframework.Z80.getInstruction () -&gt; ostrichframework.Instruction? in Z80.o</font></div><div><font face="monospace, monospace">ld: symbol(s) not found for architecture x86_64</font></div><div><br></div><div>The other 25% of the time, the framework will be built fine, with its user application working as expected.</div><div><br></div><div>Has anyone experienced issues like this, or does anyone have advice on troubleshooting it? I&#39;ve tried cleaning, deleting DerivedData, and building on a different machine, to no avail.</div><div><br></div><div>If it helps, the failing project is &quot;ostrichframework&quot; found in the Xcode workspace here: <a href="https://github.com/PumpMagic/ostrich">https://github.com/PumpMagic/ostrich</a></div><div><br></div><div>Any help is greatly appreciated.</div><div><br></div><div>Ryan</div></div>