title: Native linking failed, undefined symbol error. Xamarin Forms PCL iOS Visual Studio
body: <p>I started working on the iOS implemenatation of my PCL app in xamarin and encountered a problem that I can't seem to find a fix for in Google.</p>
  
  <p>The problem is that the moment I linked my Entitlement.plist file (iOS project> Bundle signing > Custom Entitlements) I'm getting quite a few Native linking failed errors. I've set linker behavior to all 3 possibilities no luck. I also tried it with empty dict tags in the entitlement.plist , with different linker behavior, mtouch arguments,... the profiles/licenses/provisioning profiles/identities should also be fine.</p>
  
  <p>the entitlements.plist contains the following (prefix and the id from dev.apple.com  App ID's)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
  "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;application-identifier&lt;/key&gt;
      &lt;string&gt;myidprefix.com.mycompany.*&lt;/string&gt;
      &lt;key&gt;get-task-allow&lt;/key&gt;
      &lt;false/&gt;
      &lt;key&gt;keychain-access-groups&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;$(AppIdentifierPrefix)myidprefix.com.mycompany.*&lt;/string&gt;
      &lt;/array&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/LIOBi.png" rel="nofollow noreferrer">Error screenshot here</a></p>
  
  <p>Obviously I can tell it has something to do with Android stuff, I can get around it by unloading my Android project but in my PCL I can't avoid using Mono.Android which I think is causing all of this?</p>
  
  <p>Any help would be appreciated!</p>
  
  <p>Project / versions info:</p>
  
  <ul>
  <li>Mac server host OS: macOS Sierra 10.12</li>
  <li>VS 2015 Enterprise </li>
  </ul>