LoginSignup
2
2

More than 3 years have passed since last update.

[Xcode]Wi-Fiでビルドする[実機]

Posted at

開発中のiosアプリを実機(iPhone)でビルドする際に、USBケーブルを繋がずWi-Fiでビルドする方法です。

開発環境

macOS Catalina V.10.15.1
Xcode V.11.2.1

やり方

1、最初はUSBケーブルで実機(iPhone)とMacを繋ぎます。
(このデバイスを信用しますか?と聞かれるので、「OK」)

2、タブバーにある「Window」をクリックし、さらに「Devices and Simulators」をクリックします。
(ショートカットキーで⬆️+ ⌘ + 2 でもいい)

3、すると、実機(iPhone)の情報が表示されます。そこにある「Connect via network」のチェックボックスにチェックを入れます。

これで完了です。試しにUSBを抜いてビルドしてみてください、正常にビルドできるはずです。

ただ、ビルドの速度はどうなんでしょう、、、やっぱり有線の方が速いかな?:thinking:

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