title: Xamarin iOS Building Error: Unpack local framework faild
body: <p>I want to build a long time not used project. After updating all possible nuget packages and try to fix the most error on my own I got the following output:</p>
  <pre><code>
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277: Found conflicts between different versions of &quot;System.Buffers&quot; that could not be resolved.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277: There was a conflict between &quot;System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&quot; and &quot;System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&quot;.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:     &quot;System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&quot; was chosen because it was primary and &quot;System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&quot; was not.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:     References which depend on &quot;System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&quot; [C:\Users\CRoeder\.nuget\packages\system.buffers\4.5.1\ref\netstandard2.0\System.Buffers.dll].
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:         C:\Users\CRoeder\.nuget\packages\system.buffers\4.5.1\ref\netstandard2.0\System.Buffers.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:           Project file item includes which caused reference &quot;C:\Users\CRoeder\.nuget\packages\system.buffers\4.5.1\ref\netstandard2.0\System.Buffers.dll&quot;.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:             C:\Users\CRoeder\.nuget\packages\system.buffers\4.5.1\ref\netstandard2.0\System.Buffers.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:     References which depend on &quot;System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&quot; [].
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:         C:\Users\CRoeder\.nuget\packages\system.memory\4.5.4\lib\netstandard2.0\System.Memory.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:           Project file item includes which caused reference &quot;C:\Users\CRoeder\.nuget\packages\system.memory\4.5.4\lib\netstandard2.0\System.Memory.dll&quot;.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:             C:\Users\CRoeder\.nuget\packages\system.memory\4.5.4\lib\netstandard2.0\System.Memory.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:             C:\Users\CRoeder\.nuget\packages\sqlite-net-pcl\1.7.335\lib\netstandard2.0\SQLite-net.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:             C:\Users\CRoeder\source\repos\PLUTester\PLUTester\PLUTester\bin\Debug\netstandard2.0\PLUTester.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:             C:\Users\CRoeder\.nuget\packages\sqlitepclraw.core\2.0.3\lib\netstandard2.0\SQLitePCLRaw.core.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:             C:\Users\CRoeder\.nuget\packages\sqlitepclraw.bundle_green\2.0.3\lib\Xamarin.iOS10\SQLitePCLRaw.batteries_v2.dll
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3277:             C:\Users\CRoeder\.nuget\packages\sqlitepclraw.provider.dynamic_cdecl\2.0.3\lib\netstandard2.0\SQLitePCLRaw.provider.dynamic_cdecl.dll
  2&gt;  Consider app.config remapping of assembly &quot;System.Runtime.CompilerServices.Unsafe, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; from Version &quot;4.0.6.0&quot; [] to Version &quot;5.0.0.0&quot; [C:\Users\CRoeder\.nuget\packages\system.runtime.compilerservices.unsafe\5.0.0\ref\netstandard2.1\System.Runtime.CompilerServices.Unsafe.dll] to solve conflict and get rid of warning.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2298,5): warning MSB3836: The explicit binding redirect on &quot;System.Runtime.CompilerServices.Unsafe, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: &quot;&lt;bindingRedirect oldVersion=&quot;0.0.0.0-5.0.0.0&quot; newVersion=&quot;5.0.0.0&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&gt;&quot;.
  2&gt;  PLUTester.iOS -&gt; C:\Users\CRoeder\source\repos\PLUTester\PLUTester\PLUTester.iOS\bin\iPhone\Debug\PLUTester.iOS.exe
  2&gt;  Detected signing identity:
  2&gt;          
  2&gt;    Code Signing Key: *****
  2&gt;    Provisioning Profile: *****
  2&gt;    Bundle Id: *****
  2&gt;    App Id: *****
  2&gt;  /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch @/Users/tnd-it/Library/Caches/Xamarin/mtbs/builds/PLUTester.iOS/2baa4fd2be2e05bc09a85ce9bdd5b7fabb67cd3865a973e98aab3f8045e055d9/obj/iPhone/Debug/response-file.rsp -v &quot;--gcc_flags=-ObjC -lsqlite3 -LC:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries -lGoogleAnalytics -force_load C:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries/libGoogleAnalytics.a -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -ObjC -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -LC:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries -lGoogleAnalytics -force_load C:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries/libGoogleAnalytics.a -ObjC -lz -lsqlite3&quot; 
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: GTMAppAuthFetcherAuthorization. The symbol '_OBJC_CLASS_$_GTMAppAuthFetcherAuthorization' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: GTMKeychain. The symbol '_OBJC_CLASS_$_GTMKeychain' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: GTMOAuth2KeychainCompatibility. The symbol '_OBJC_CLASS_$_GTMOAuth2KeychainCompatibility' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: OIDAuthState. The symbol '_OBJC_CLASS_$_OIDAuthState' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: OIDAuthorizationRequest. The symbol '_OBJC_CLASS_$_OIDAuthorizationRequest' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: OIDAuthorizationService. The symbol '_OBJC_CLASS_$_OIDAuthorizationService' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: OIDIDToken. The symbol '_OBJC_CLASS_$_OIDIDToken' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: OIDServiceConfiguration. The symbol '_OBJC_CLASS_$_OIDServiceConfiguration' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5211: Native linking failed, undefined Objective-C class: OIDURLQueryComponent. The symbol '_OBJC_CLASS_$_OIDURLQueryComponent' could not be found in any of the libraries or frameworks linked with your application.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _OBJC_METACLASS_$_GTMAppAuthFetcherAuthorization. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _OIDOAuthErrorResponseErrorKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _OIDOAuthTokenErrorDomain. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5210: Native linking failed, undefined symbol: _OIDResponseTypeCode. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'System.Net.Security' might require additional -framework=XXX or -lXXX instructions to the native linker
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'Kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'libEGL' might require additional -framework=XXX or -lXXX instructions to the native linker
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'dl' might require additional -framework=XXX or -lXXX instructions to the native linker
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): warning MT5215: References to 'kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lsqlite3 -LC:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries -lGoogleAnalytics -force_load C:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries/libGoogleAnalytics.a -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -ObjC -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -LC:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries -lGoogleAnalytics -force_load C:/Users/CRoeder/AppData/Local/XamarinBuildDownloadCache/GAnlytcs-3.17/Libraries/libGoogleAnalytics.a -ObjC -lz -lsqlite3
  2&gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(425,3): error : linker command failed with exit code 1 (use -v to see invocation)
  ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
  </code></pre>
  <p>Where and how should I start digging for the errors?
  I am not that familiar with linker.</p>