Xamarin Forms - IOS 支持的最低版本 [英] Xamarin Forms - IOS minimum supported version

查看:21
本文介绍了Xamarin Forms - IOS 支持的最低版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到最新的 XCode 和 Xamarin 后,在 Visual Studio 中构建时,我无法再定位任何 11 岁以上的 iOS 设备.发生了什么?

After upgrading to latest XCode and Xamarin, when building in Visual Studio, I can no longer target any iOS devices older than 11. What happened?

推荐答案

如果要针对 iOS 10 框架进行构建,则需要通过将 Xamarin 的 Apple SDK 设置为指向 Xcode 8 的副本来使用 Xcode 8.

If you want to build against iOS 10 frameworks, you would need to use Xcode 8 by setting the Xamarin's Apple SDK to point to a copy of Xcode 8.

现在通过 Info.plist 中的 Deployment Target,您可以控制您希望应用运行的最低 iOS 版本.

Now via the Deployment Target within the Info.plist you can control what is the minimum iOS version that you want your app to run against.

部署目标设置用于选择运行应用程序所需的最低操作系统版本.这是在项目的 Info.plist 文件中设置的.您应该选择包含运行应用程序所需的所有 API 的最低版本.

The Deployment Target setting is used to select the minimum required version of the operating system on which your application will run. This is set in your Project's Info.plist file. You should pick the minimum version that has all the APIs that you need to run your application.

对于基于表单的 Xamarin.iOS,您不想设置最小值.低于 iOS 8

For a Forms-based Xamarin.iOS you do not want to set the min. to less then iOS 8

可以为以下操作系统编写 Xamarin.Forms 应用程序:

Xamarin.Forms applications can be written for the following operating systems:

  • iOS 8 或更高版本
  • Android 4.0.3 (API 15) 或更高版本(更多详细信息)
  • Windows 10 通用 Windows 平台(更多详细信息)
  • Windows 8.1/Windows Phone 8.1 WinRT(更多详细信息)
  • Windows Phone 8 Silverlight(已弃用)
  • 这篇关于Xamarin Forms - IOS 支持的最低版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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