この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので十分ご注意ください。
![The run destination ◯◯◯ is not valid for Running the scheme '□□□'. To use ◯◯◯ for development, enable Developer Mode in Settings → Privacy & Security.](https://makotton.com/blog/wp-content/uploads/2022/09/6b58cf593ea8a747693b8c1bdf5b89e3-1-298x300.png)
iOS16を載せたデバイスをXcodeに繋げたときタイトルのエラーが出てUnavailable Deviceになってしまう場合は、デバイスがDeveloper Modeになっていないのが原因です。
備忘録を兼ねて、Developer ModeをONにする方法は以下の通り。
(1) iOS→[設定]→[プライバシーとセキュリティ]を選択
![](https://makotton.com/blog/wp-content/uploads/2022/09/1-138x300.png)
(2) [デベロッパーモード]を選択
![](https://makotton.com/blog/wp-content/uploads/2022/09/2-138x300.png)
(3) デベロッパーモードをON
![](https://makotton.com/blog/wp-content/uploads/2022/09/3-138x300.png)
(4) 再起動を促されるので[再起動]を選択
![](https://makotton.com/blog/wp-content/uploads/2022/09/4-138x300.png)
(5) 再起動後にポップアップで確認が入るので[オンにする]を選択
![](https://makotton.com/blog/wp-content/uploads/2022/09/5-1-138x300.png)
(6) パスコードを入力
![](https://makotton.com/blog/wp-content/uploads/2022/09/6-138x300.png)
これでDeveloper Modeに切り替わります。