Skip to content

How to build for iOS? What platform versions? #17203

Answered by maxkatz6
AArnott asked this question in Q&A
Discussion options

You must be logged in to vote

18.0 > Disqualifies most devices.

Note, that's not how it works.
TargetFramework version specifies a target version. I.e. iOS SDK version you want your app to be linked to.
This app still can run on older OSs assuming it doesn't use any newer APIs in runtime (version guards are useful there).

Actually, minimal support version is defined by SupportedOSPlatformVersion. And for Avalonia, supported version is 13.0.
https://github.com/AvaloniaUI/Avalonia/blob/master/src/iOS/Avalonia.iOS/Avalonia.iOS.csproj#L4C6-L4C32
https://github.com/AvaloniaUI/Avalonia/blob/11.2.0-rc1/build/TargetFrameworks.props#L20C6-L20C31

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@maxkatz6
Comment options

@maxkatz6
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@AArnott
Comment options

AArnott Oct 6, 2024
Author Sponsor

@maxkatz6
Comment options

Answer selected by AArnott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants