title: Mach-O Linker Error When Adding Unit Tests - XCode
body: <p>I'm trying to add OCUnit tests to an existing project (in XCode 4.6.3). I followed the instructions here - <a href="http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/" rel="nofollow noreferrer">http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/</a> however I'm getting 78 Mach-O errors only when trying to run the tests. I can compile the main target just fine.</p>
  
  <p>One thing to note I have not modified the tests yet, they are just the standard template.  I'm not sure example what I'm doing wrong.</p>
  
  <p>One error message</p>
  
  <blockquote>
    <p>Undefined symbols for architecture i386:   "_AudioComponentFindNext",
    referenced from:
          l651 in libNuanceSpeechAnywhere.a(libSpeechKit.a-i386-master.o)
          l652 in libNuanceSpeechAnywhere.a(libSpeechKit.a-i386-master.o)</p>
  </blockquote>
  
  <p>Here is a screen shot of a bunch of the errors.</p>
  
  <p><img src="https://i.stack.imgur.com/Ucf7S.png" alt="enter image description here"></p>