问题描述
升级到最新的XCode和Xamarin之后,在Visual Studio中进行构建时,我不能再定位11岁以下的iOS设备了.
如果要针对iOS 10框架进行构建,则需要通过将Xamarin的Apple SDK设置为指向Xcode 8的副本来使用Xcode 8./p>
现在,通过Info.plist中的Deployment Target
,您可以控制希望应用运行的最低iOS版本.
对于基于表单的Xamarin.iOS
,您不想设置最小值.不到iOS 8
- iOS 8或更高版本
- Android 4.0.3(API 15)或更高版本(更多详细信息)
- Windows 10通用Windows平台(更多详细信息)
- Windows 8.1/Windows Phone 8.1 WinRT(更多详细信息)
- Windows Phone 8 Silverlight(已弃用)
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?
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.
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.
For a Forms-based Xamarin.iOS
you do not want to set the min. to less then iOS 8
- iOS 8 or higher
- Android 4.0.3 (API 15) or higher (more details)
- Windows 10 Universal Windows Platform (more details)
- Windows 8.1 / Windows Phone 8.1 WinRT (more details)
- Windows Phone 8 Silverlight (DEPRECATED)
这篇关于Xamarin Forms-IOS最低支持版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!