2
4

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】シュミレーターAppleWatchとシュミレーターiPhoneの紐付け

Last updated at Posted at 2022-07-22

はじめに

こちらのお題を解いている時に初めてApple Watchをシュミレーターで起動しました。
そこで気づきました。
Apple Watchの言語が英語から変更できない。。。
ここでかなり時間溶けました笑

根本の原因はAppleWatchとiPhoneの関係性がわかっていなかったからだと思います。
今回はシュミレーターのApple WatchをシュミレーターのiPhoneに紐付けする方法を紹介します。

明日はシュミレーターのApple Watchの言語を変更する方法を投稿します。

方法

「Window」から「Devices and Simulators」を選択します。
スクリーンショット 2022-07-22 22.48.12.png
今回はiPhone13を使用します。
iPhoneを選択したら「+」を押します。
スクリーンショット 2022-07-22 22.51.01.png
紐付けしたいapple watchの種類を選択したら「Pair」を押します。
スクリーンショット 2022-07-22 22.55.32.png
こうなってればOKです。
スクリーンショット 2022-07-22 22.56.45.png
紐付けした端末を両方ビルドします。
今回の例では「iPhone13」と「Apple Watch Series7 - 45mm」です。
両方ビルドできたら「Watch」を開いてみましょう。同期が始まります。
スクリーンショット 2022-07-22 23.05.50.png
以下の画像のように表示されていれば、同期は完了です。
スクリーンショット 2022-07-22 23.12.05.png

完成

スクリーンショット 2022-07-22 23.13.31.png

おわり

watchOSの情報は少ないので沼にハマると一瞬で時間が溶けます笑

2
4
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
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?