title: Undefined symbols for architecture x86_64 when using Tesseract
body: <p>I am using tesseract provided by google. After following <a href="https://github.com/gali8/Tesseract-OCR-iOS" rel="nofollow noreferrer">this</a> tutorial, i finally built finish my app. However, when i run it, i run into the problem of undefined symbols. This is the error</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
    "_OBJC_CLASS_$_G8Tesseract", referenced from:
        objc-class-ref in ViewController.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>How do i fix this issue? I tried searching online but none of the solutions worked for me. I tried reinstalling the pods and updating it. Then i faced this error</p>
  
  <pre><code>clang: error: no such file or directory: '/Users/admin/Desktop/tst/Pods/Target Support Files/Pods-tst/Pods-tst-dummy.m'
  clang: error: no input files
  </code></pre>
  
  <p>When i tried redoing the project i get his error</p>
  
  <pre><code>Undefined symbols for architecture arm64:
    "_OBJC_CLASS_$_G8Tesseract", referenced from:
        objc-class-ref in ViewController.o
  ld: symbol(s) not found for architecture arm64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>