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

86,987

Solution 1

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.

Solution 2

(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

Solution 3

Make sure you have at least Xcode 9 or later and a device with iOS 11 or later

1- Open your project on Xcode

2- Plugged in your iPhone with USB cable.

3- Open Window > Devices and Simulators enter image description here You should see your device as connected devices

4- Select Devices from the top, Select your device from left and Check the “Connect via network” box enter image description here

5- Now if Xcode can connect to your device via network, you should see a network icon after your phone name

enter image description here

6- Unplug your USB cord

7- Go back to Xcode and Hit the Run button

enter image description here

Solution 4

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

Solution 5

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.
Share:
86,987

Related videos on Youtube

Andy Jazz
Author by

Andy Jazz

Updated on June 16, 2021

Comments

  • Andy Jazz
    Andy Jazz almost 3 years

    We have iPad and iPhone devices, but short of wires. Is there any way that we can install/debug the builds over Wi-Fi in iOS?

    I know the way in Android, but not of iOS.

    • muhammedkasva
      muhammedkasva about 10 years
      it's imposible new version of xcode. This feature is depreceated after xcode 4.3.
    • Fattie
      Fattie about 10 years
      Right - just use testFlightApp.com (now owned by Apple!)
    • ctpenrose
      ctpenrose over 9 years
      I am so surprised that more developers have not clamored for this. But I guess we sit on our arse and don't need to care whether a cable is plugged in to our iDevice or not.
    • D4ttatraya
      D4ttatraya almost 7 years
      Now it's possible with Xcode 9 look at this answer
  • Admin
    Admin about 10 years
    I Think there was the provision for this in xcode 4.2
  • Richard Fu
    Richard Fu over 7 years
    2 yrs pass n still no... I wish they can add it, especially for my 12" macbook which doesnt have usb port...
  • art-divin
    art-divin almost 7 years
    @indrajeet you can update your answer because of xcode 9
  • Jan
    Jan almost 7 years
    I don't see that option. Is this only possible on an iOS 11 device? I'm currently installing one, so I'll guess I'll find out soon enough!
  • Minhal Khan
    Minhal Khan almost 7 years
    Yea, requires the IOS 11 Update
  • Jan
    Jan almost 7 years
    You might want to include that in your answer!
  • TZE1000
    TZE1000 almost 7 years
    Plug in your device, open Xcode, select Window > Devices and Simulators, select the device in the menu, and check "Connect via Network". Once it's connected, a globe-like icon should appear next to the device in the menu.
  • Zaporozhchenko Oleksandr
    Zaporozhchenko Oleksandr over 6 years
    nice, to build wireless, first I need connect via wire *facepalm
  • Matteo Gaggiano
    Matteo Gaggiano over 6 years
    The question is about HOW to do the wireless connection.
  • Arshad Shaik
    Arshad Shaik about 5 years
    It is not working, when i removed usb cable from laptop and tried to run, it is showing error as iphone not connected.