title: Undefined symbols for architecture i386/armv7 [cocoapods]
body: <p>After installing a custom pod with <code>$ pod install</code> command, I can't build the project because there are some errors like below (on my Xcode the error is about <strong>armv7</strong>, on an another Xcode, the error is about <strong>i386 architecture</strong>):</p>
  
  <pre><code>Undefined symbols for architecture armv7:
    "_generateCombMatrix", referenced from:
        -[className method:] in libPods-Bot-betting-core.a(ClassName)
    "_debugLog", referenced from:
    -[ClassName Method:] in libPods-Bot-betting-core.a(className.o)
    -[ClassName method] in libPods-Bot-betting-core.a(className.o)
    -[className method] in libPods-Bot-betting-core.a(className.o)
    -[className method:] in libPods-Bot-betting-core.a(className.o)
    -[className method:] in libPods-Bot-betting-core.a(className.o)
    -[className method] in libPods-Bot-betting-core.a(className.o)
    -[className method] in libPods-Bot-betting-core.a(className.o)
    -[className method] in libPods-Bot-betting-core.a(className.o)
    ...
    "_SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO", referenced from:
    -[className init] in libPods-Bot-betting-core.a(className.o)
  </code></pre>
  
  <p>Files mentioned in the error are in the project <strong>Pods</strong> and the libPods.a library is correctly linked to the project.
  This is the .xconfig file on debug (on release is the same):</p>
  
  <pre><code>GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
  HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/betting-core"
  OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/betting-core"
  OTHER_LDFLAGS = -ObjC -l"Pods-Bot-betting-core"
  OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
  PODS_ROOT = ${SRCROOT}/Pods
  </code></pre>
  
  <p>The library support the architecture as you can see in the screen below:
  <img src="https://i.stack.imgur.com/TeGWk.png" alt="supported architecture"></p>