1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

is only available in iOS 16.0 or newerの対応

Posted at

環境

  • Xcode 14.0.1
  • iOS16
  • macOS Monterey 12.6

iOS16の機能を利用しようとした時エラー

Textを太字にしたい
Fix候補は3つ
スクリーンショット 2022-10-05 23.10.01.png

Fixはどれも選択せず
ググって上位表示記事を参考にした
"*** is only available in iOS 15.0 or newer"

プロジェクトとターゲット両方を16.0に変更した

スクリーンショット 2022-10-05 23.14.22.png

スクリーンショット 2022-10-05 23.19.17.png

スクリーンショット 2022-10-05 23.16.02.png

スクリーンショット 2022-10-05 23.43.24.png

TARGET>General>Minimum Target これは16.0じゃないとエラーでるが、

PROJECT>info>iOS Development Target これは16.0以下のままでもビルドできる

なにが違うんだろ。
Minimum Targetは最小Ver指定だからiOS 16.0未満は対象外ってことかな。

Deployment Targetはプロジェクトとターゲットの両方に値を指定する

参考:iOSのDeployment Targetはプロジェクトとターゲット両方に値を指定しないといけない

まだ理解できないので今後の忘備録とします。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?