Samples: review SupportedOSPlatformVersion (minimum iOS version) across sample apps

オープン
#628 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp
領域
devtools, mobile

調査の方向性

Read the listed MAUI, Avalonia and Uno project files, Avalonia’s Info.plist, and docs/samples/todoapp/; consult framework documentation and release notes for supported iOS and Mac Catalyst versions. Decide and document suitable targets, align the iOS values, and update the documentation. Done when the stated acceptance criteria are met and the three named Build Samples iOS jobs pass on the pull request.

索引モデルが issue の本文から書いたものです。

説明

Examples

Summary

Review the minimum iOS deployment target (SupportedOSPlatformVersion) used by the sample apps, and decide whether to raise it.

Background

This was noted while working on #622 / PR #626. SupportedOSPlatformVersion is the minimum OS the app runs on. It is separate from the SDK or Xcode version the app is built with, so it does not block building against newer SDKs. It does control which platform APIs are available without runtime checks, and it can constrain which versions of dependencies can be used.

Current values:

Sample File Setting
MAUI samples/todoapp/TodoApp.MAUI/TodoApp.MAUI.csproj iOS 15.0, Android 21.0, Windows 10.0.17763.0
Avalonia iOS samples/todoapp/TodoApp.Avalonia/TodoApp.Avalonia.iOS/TodoApp.Avalonia.iOS.csproj 15.0
Avalonia iOS samples/todoapp/TodoApp.Avalonia/TodoApp.Avalonia.iOS/Info.plist MinimumOSVersion 15.0
Avalonia Android samples/todoapp/TodoApp.Avalonia/TodoApp.Avalonia.Android/TodoApp.Avalonia.Android.csproj 34
Uno samples/todoapp/TodoApp.Uno/TodoApp.Uno/TodoApp.Uno.csproj not set explicitly (uses the Uno SDK default)

The platform values are not consistent across samples. For example, Android is 21.0 in MAUI but 34 in Avalonia. iOS is 15.0 in both MAUI and Avalonia, but the Avalonia value is duplicated in Info.plist and must be changed in both places.

Proposed work

  1. Confirm the minimum supported iOS (and Mac Catalyst) version for each framework at the versions the samples use (MAUI, Avalonia, Uno), using their documentation and release notes.
  2. Decide on a target for the iOS samples. Consider what the toolkit's client library needs, what current Apple guidance is, and what the samples are meant to show. Samples should reflect what a new app would reasonably choose today.
  3. Decide whether the other platform values (Android, Windows) should be reviewed too, or only iOS. At minimum, document why they differ if they stay different.
  4. Align the values across samples where there is no good reason for a difference.
  5. Keep Info.plist MinimumOSVersion in step with the csproj value for Avalonia.
  6. Consider whether Uno should set the value explicitly so the target is visible in the project.
  7. Check docs/samples/todoapp/ for any mention of minimum OS versions and update it.

Validation

Validate through CI on the pull request: the todoapp-maui / ios, todoapp-avalonia / ios and todoapp-uno / ios-maccatalyst jobs in Build Samples must pass. Triggering workflows with workflow_dispatch on the fork has not been reliable for the macOS jobs, but runs triggered by a pull request work.

Acceptance criteria

  • The iOS minimum deployment target is deliberately chosen, consistent across the iOS samples, and the reason is recorded in the PR.
  • Avalonia's csproj and Info.plist agree.
  • Documentation matches the final values.
  • Build Samples passes on the PR.

Related

  • #622 / PR #626: move macOS sample jobs to macos-26.
  • Follow-up: drop the workload set pin and move to Xcode 26.5 (separate issue). The two changes are independent and should be separate PRs.
主要言語
C#
スター
184
フォーク
48
平均マージ
12分
マージ済み PR(30日)
21

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommunityToolkit/Datasync のほかの issue

CommunityToolkit/Datasync の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。