Xamarin Forms - IOS minimum supported version

前端 未结 1 586
清酒与你
清酒与你 2021-01-19 05:39

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?

相关标签:
1条回答
  • 2021-01-19 05:51

    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.

    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.

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

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

    • 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)
    0 讨论(0)
提交回复
热议问题