title: Undefined symbols for architecture arm64: Xcode 12
body: <p>Im trying to build a project after adding 3rd party framework, however I can't compile the project after adding the framework, I get <strong>Undefined symbols for architecture arm64</strong>: error when I try to compile on a device, but I can compile on a simulator. I have tried all other solutions I found on stackoverflow. any help is appreciated!</p>
  <p>Here is what I have tried:</p>
  <ul>
  <li>Added Any iOS Simulator SDK with value <strong>arm64</strong> inside Excluded Architecture.</li>
  <li>I do have $(inherited) inside <strong>Other Linker Flags</strong></li>
  <li>Set Bitcode Enabled to No</li>
  </ul>
  <p>None of the solutions I tried worked for me.</p>
  <pre><code>Undefined symbols for architecture arm64:
        &quot;_OBJC_CLASS_$_*&quot;, referenced from:
            objc-class-ref in frameworkName.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>