Visual Studio Mac中本机链接失败的Xamarin iOS

问题描述

当我在Mac上运行xamarin表单ios项目时,显示本机链接错误

Native linking Failed. Please review the build log and the user flags provided to gcc: -ObjC -ObjC -ObjC -lc++ -lz -ObjC -lc++ -lsqlite3 -lz (MT5201)

如何解决此问题?

解决方法

可能的解决方案:

  1. Xamarin.Build.Download更新为最新版本。

  2. 是否还有其他错误或仅此一个错误?可能是您需要更新其他库(在我的情况下是google / firebase库)(当然还要清理bin / obj和package文件夹:))