Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Forms - IOS minimum supported version

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?

enter image description here

like image 479
Patrick Goode Avatar asked Dec 01 '22 15:12

Patrick Goode


1 Answers

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.

enter image description here

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)
like image 199
SushiHangover Avatar answered Feb 28 '23 12:02

SushiHangover