Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

XcodeにてiOSアプリプロジェクトのiOSのバージョンを下げる方法

Last updated at Posted at 2025-12-05

概要

XcodeにてiOSアプリプロジェクトのiOSの最小バージョン指定を変更する方法をまとめる。
Xcodeで作ったiOSアプリを自分のiPhoneに入れてみたかったので然るべき操作を行ったところ下記の様なエラーが出た。

〇〇のiPhone's iOS 〇.〇.〇 doesn't match プロジェクト名 app's iOS 26.1 deployment target.

Upgrade 〇〇のiPhone's iOS version or lower プロジェクト名.app's deployment target.

iPhoneとXcodeのプロジェクトでバージョンがズレているからiPhoneをバージョンアップするかXcodeのプロジェクトの最低サポートOSバージョンを下げてくれと言われている。
今回は後者で対応する方法をまとめる。

前提

プロジェクト名は「hello_world_ios_18_7_1」とする。
iOS 18.7.1のiPhoneに入れてみたいので最小バージョンを18に設定する。

方法

  1. 左サイドバーの「hello_world_ios_18_7_1」をクリック

    CleanShot 2025-12-05 at 22.24.18@2x.png

  2. TARGETSの「hello_world_ios_18_7_1」をクリック

    CleanShot 2025-12-05 at 22.25.24@2x.png

  3. Minimum Deploymentsのプルダウンをクリック

    CleanShot 2025-12-05 at 22.26.59@2x.png

  4. ios 18を選択

    CleanShot 2025-12-05 at 22.28.03@2x.png

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?