title: Unable to distribute iOS app from VS 2019 v 16.9.2
body: <p>The issue:
  The app builds and archives successfully but will not distribute. Errors listed below. The issues started after updating to 16.9.2. Everything was working prior to the update.</p>
  <p>Things I have already tried:</p>
  <ul>
  <li>Cleaned Solution, deleted bin and obj folders on both Mac and PC, Rebooted PC and Mac, Rebuild, Build</li>
  <li>Cleared all Provisioning Profiles and Certificates recreated and reinstalled on both Mac and PC</li>
  <li>Toggled Manual to Automatic Previsioning Build and Repeat</li>
  <li>Ensured the app is targeting the latest SDK and is set to release mode</li>
  <li>Ensured the app id matches the profile</li>
  </ul>
  <p>Errors:</p>
  <pre><code>Could not create ipa file for distribution of the archive 'AppName'
  /usr/bin/codesign exited with code 1
  
  /usr/bin/codesign exited with code 1
  
  Failed to codesign 'Path/obj/iPhone/Release/archives/ProjectName 3-21-21 10.27 AM.xcarchive/Products/Applications/ProjectName.app//**/*.dylib':/Users/xamarin/Libray/Caches/Xamarin/mtbs/builds/ProjectName/GUIDc/C:/Path/obj/iPhone/Release/archives/ProjectName. 3-21-21 10.27 AM.xcarchive/Products/Applications/ProjectName.app//**/*.dylib: No such file or directory
  
  Failed to codesign 'Path/obj/iPhone/Release/archives/ProjectName 3-21-21 10.27 AM.xcarchive/Products/Applications/ProjectName.app//**/*.metalib':/Users/xamarin/Libray/Caches/Xamarin/mtbs/builds/ProjectName/GUIDc/C:/Path/obj/iPhone/Release/archives/ProjectName. 3-21-21 10.27 AM.xcarchive/Products/Applications/ProjectName.app//**/*.metalib: No such file or directory
  </code></pre>