【发布时间】:2020-08-12 06:50:53
【问题描述】:
当我将我的 xamarin forms ios 项目运行到 mac 时,它显示本机链接错误:
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)
如何解决这个问题?
【问题讨论】:
-
您可能没有链接到正确的 C++ 库。检查stackoverflow.com/questions/16352833/…。
-
我不明白如何链接 c++ 库,你能告诉我在哪里将这个标志添加到我的 xamarin ios 项目吗?
-
右键iOS项目->属性->iOS构建->mtouch argumrnts。
标签: xamarin xamarin.forms xamarin.ios