Xamarin.IOs 给出错误“升级 Xcode 或将托管链接器行为设置为仅链接框架 SDK" [英] Xamarin.IOs gives an error "either upgrade Xcode or set the managed linker behaviour to Link Framework SDKs Only"

查看:18
本文介绍了Xamarin.IOs 给出错误“升级 Xcode 或将托管链接器行为设置为仅链接框架 SDK"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Xamarin.IOs 项目.做了一些更新后,我收到这个错误,

I have a Xamarin.IOs project. After doing some updates I am getting this error,

此版本的 Xamarin.iOS 需要 iOS 11.4 SDK(随附Xcode 9.4).升级 Xcode 以获取所需的头文件或将托管链接器行为设置为仅链接框架 SDK(尝试以避免使用新的 API).

This version of Xamarin.iOS requires the iOS 11.4 SDK (shipped with Xcode 9.4). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).

如何将托管链接器行为设置为仅链接框架 SDK?

How can I set the managed linker behaviour to Link Framework SDKs Only?

推荐答案

右键单击 IOs 项目,然后选择 Properties.

Right click on the IOs project and select Properties.

属性窗口中,

iOS Build 部分下,为 Linker Behavior: 选择 Link Framework SDKs Only.

Under iOS Build section, select Link Framework SDKs Only for Linker Behavior:.

这会将托管链接器行为设置为仅链接框架 SDK.

That'll set the managed linker behaviour to Link Framework SDKs Only.

这篇关于Xamarin.IOs 给出错误“升级 Xcode 或将托管链接器行为设置为仅链接框架 SDK"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆