how to connect device in xcode without cable. it is tedious to connect the cable and my USB is lil bit loose, so it disconnects from PC.
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.
To set up your breakpoint, you simply need to open a project in Xcode or Android Studio, and click close to the code line number. That's how it looks in Xcode. You'll see a blue arrow appear, indicating that the execution will pause when it reaches that point.
Over wifi 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.
WiFi debugging has never been supported in any public releases of Xcode yet.
There are third party hacks that may or may not work: https://github.com/Shopify/superdb
There also reports that this works with some workarounds: https://stackoverflow.com/a/7857052/361247
But officially, this isn't supported.
It will be now possible with the latest update of Xcode 9.
Cut the Cord
Choose any of your iOS or tvOS devices on the local network to install, run, and debug your apps – without a USB cord plugged into your Mac. Simply click the ‘Connect via Network’ checkbox the first time you use a new iOS device, and that device will be available over the network from that point forward. Wireless development also works in other apps, including Instruments, Accessibility Inspector, Quicktime Player, and Console.
Check this for the latest updates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With