Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS – Run/Debug/Install builds over Wi-Fi

People also ask

Can we connect iPhone to Xcode without cable?

Tick the checkbox and a network icon will be displayed toward the right of the device name. Thats it. Disconnect your device and now you can install or debug without using the cable.

How do I connect Xcode without cable?

Open Xcode and go to Window > Devices and Simulators. On the Apple TV, go to Settings > Remotes and Devices > Remote App and Devices. Select the Apple TV in the Discovered area in Xcode and enter the verification code displayed on the Apple TV. Click the Connect button.

How do I connect my iPhone to my Mac for development?

You may connect a real device to your Mac using a cable, or for iOS or tvOS apps, connect it over Wi-Fi after you pair it with Xcode. For macOS apps, choose a scheme, then click the Run button in the toolbar.


Now by using Xcode 9 and iOS 11 it is possible to run apps by using Wi-Fi.

Connect the iPhone via USB, go into the device window (Cmd-Shift-2), select your phone, and check the connect via network box.

More thorough instructions with screenshots here


Pre-Xcode 9 answer:

Over Wi-Fi installing and debugging of applications is not possible in iOS.

But there are some websites where you can upload your builds and then download on device and test it.


(Before you read make sure your running IOS 11 and Xcode 9!) Connect your device (Via USB), once you do go on 'Add Additional Simulators' (See image 2 at the bottom), and tick 'connect via network' (See Image One). Once XCode proccesses this, disconnect the device (via USB) and it should now appear with a globe next to it (See image 2)! Also make sure the device and computer are on the same network!

Image 1 enter image description here

Image 2 enter image description here


Using Xcode 9 you can debug over wifi(same network).


Simple Solution: http://diawi.com

Upto Xcode 8 & iOS 10 : Through wifi its not possible.

You just upload your ".ipa" file to this website http://diawi.com & get sort link for that. After that install build by requesting that link in iphone browser.


From Xcode 9+ & iOS 11+ : Its possible install debug build through wifi.

  1. Open your project on Xcode
  2. Connect your ios device with USB cable.
  3. In xcode menu open Window -> Devices and Simulators or press (Cmd-Shift-2). You should see your device as connected devices.
  4. Select your device and enable check box “Connect via network”.
  5. Now you can see a network icon next to your phone name. This icon confirms that you can able to run build in wifi.
  6. Now run your build through wifi to install build in your ios devices.