title: adding ios core framework to podfile
body: <p>I added a pod to my Podfile and got compiler errors when building:</p>
  
  <pre><code>Undefined symbols for architecture arm64:
    "_OBJC_CLASS_$_CLLocation", referenced from:
       objc-class-ref in MoPubAdapter(GADMAdapterMoPub.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>
  
  <p>I then went to <code>Build Settings &gt; Target &gt; Debug &gt; Other Linker Files</code> and manually added <code>-framework</code> and <code>"CoreLocation"</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/I224Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I224Z.png" alt="enter image description here"></a></p>
  
  <p>The compiler did not complain anymore. I assume they were forgotten in as prerequisites for the pod. </p>
  
  <p>Now I don't like the fact that I manually changed this value. I might forget to do this if Cocoapods i.e. overwrites this value again. Is there a way for me do add the <code>CoreLocation</code> framework to the Podfile so that Cocoapods takes care of including it?</p>
  
  <p>Thanks</p>