iOS – Run/Debug/Install builds over Wi-Fi
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!
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 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
5- Now if Xcode can connect to your device via network, you should see a network icon after your phone name
6- Unplug your USB cord
7- Go back to Xcode and Hit the Run button
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.
- Open your project on Xcode
- Connect your ios device with USB cable.
- In xcode menu open Window -> Devices and Simulators or press
(Cmd-Shift-2)
. You should see your device as connected devices. - Select your device and enable check box “Connect via network”.
- Now you can see a network icon next to your phone name. This icon confirms that you can able to run build in wifi.
- Now run your build through wifi to install build in your ios devices.
Related videos on Youtube
Comments
-
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 about 10 yearsit's imposible new version of xcode. This feature is depreceated after xcode 4.3.
-
Fattie about 10 yearsRight - just use testFlightApp.com (now owned by Apple!)
-
ctpenrose over 9 yearsI 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 almost 7 yearsNow it's possible with Xcode 9 look at this answer
-
-
Admin about 10 yearsI Think there was the provision for this in xcode 4.2
-
Richard Fu over 7 years2 yrs pass n still no... I wish they can add it, especially for my 12" macbook which doesnt have usb port...
-
art-divin almost 7 years@indrajeet you can update your answer because of xcode 9
-
Jan almost 7 yearsI 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 almost 7 yearsYea, requires the IOS 11 Update
-
Jan almost 7 yearsYou might want to include that in your answer!
-
TZE1000 almost 7 yearsPlug 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 over 6 yearsnice, to build wireless, first I need connect via wire *facepalm
-
Matteo Gaggiano over 6 yearsThe question is about HOW to do the wireless connection.
-
Arshad Shaik about 5 yearsIt is not working, when i removed usb cable from laptop and tried to run, it is showing error as iphone not connected.