0
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.

【Xcode エラー】「Failed to prepare device for development」【解決方法】

Posted at

実機でビルドしてみたら

「Failed to prepare the device for development. This operation can
fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.」

といったエラーが発生

スクリーンショット 2023-05-11 21.49.23.png

「Failed to prepare device for development」で検索

《参考記事》【Xcode】「Failed to prepare device for development」の
エラーが発生して iPhone 実機ビルド・デバッグができない事象【備忘録】
https://negichou.com/troubleshooting-xcode-failed-to-prepare-device/

を読む。

①iPhone の再起動 ②Xcode の再起動 ③Mac の再起動 を試す。

上手くいかず。

Mac のバージョンを最新にする

上手くいかず。

Xcode のバージョンを最新にするために他の記事に載っていたAppStoreのアップデート欄からアップデートする方法を試そうとするもできず。

「Xcode アップデート できない」で検索。

《参考記事》【図解】Xcodeのアップデートできない症状への対策【初心者OK】
https://www.kyougokumakoto.com/2019/10/xcode-not-download.html

を読む。

AppleのDeveloperサイトから直接ダウンロード。

解決。

【今回の経験から学んだこと】

Xcodeのバージョンをアップデートする際は
「App Storeから」アップデートではなく
「公式サイトから直接」アップデートするのが一番確実。

(App Storeからだと最新のバージョンにアップデートできない時があるので。)

0
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
0
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?