我无法为Iphone生成API,有人可以帮助我吗?

时间:2019-05-16 19:12:39

标签: xcode xamarin

我正在尝试在连接到Mac mini的Windows上的xamarin中构建应用程序,但无法正常工作。出现以下消息:

windows visual studio error message
Severity    Code    Description Project File    Line    Suppression State
Error       This version of Xamarin.iOS requires the iOS 12.2 SDK (shipped with Xcode 10.2). 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).  TRIP4VIP.iOS

我尝试将Visual Studio放在MAC mini上,但没有做任何更改,并尝试将xcode更新到版本10.12

我不明白为什么MAC mini无法升级到Mac OS 10.14?

我的MAC版本是10.13.8,我无法升级到10.14,有人知道我可以如何编译我的项目吗?

注意:我使用第三方API

1 个答案:

答案 0 :(得分:0)

解决方案:

  1. Xcode升级到10.2以获取所需的头文件

  2. 如果无法升级Xcode 10.2所需的Mac系统。将链接器行为更改为Link Framework SDKs Only

更改链接器行为的步骤:在运行项目之前,右键单击xxx.iOS project-> properties-> ios build-> linker behaviour,更改为{ {1}}。

在此处添加屏幕截图以使其清晰: screenshot