Wireless Deployment of Xamarin apps to your iOS devices

If you’re anything like me you probably have an iPhone cable near you at all times when working on a Xamarin app. It will probably look like it has seen better days but it still works doesn’t it?

Because of the frequent use my iPhone cables start to break at some point but I usually carry on like a trooper. Some scotch tape also helps to make some last-minute lifespan extensions. When the cable eventually breaks I’m usually screwed because I never thought to buy a new one.

Introducing Wireless Deployment

All of the above is now a thing of the past with the introduction of Wireless Deployment in Visual Studio for Mac. And the beauty of it is that it takes you no additional effort to configure in VS. It’s currently only available in the Preview version (VS for Mac 7.4 Preview 2 and Xamarin iOS 11.8) and only takes a bit of configuration in Xcode. However you can use to debug with your feet up on your desk and no cables to worry about! Breakpoints will be hit and everything will work as if the device is connected through USB.

How do you get it? Open Xcode and go up to Window > Devices and Simulators.┬á Make sure you’ve connected your device through a USB cable to be able to enable it to be discovered on the network. Once you see your device tick the Connect via network box and wait for it to connect to the network (as indicated by the globe icon. Disconnect the USB cable and it should show up in Visual Studio for Mac as a connected device!

As pointed out to me on Twitter by Pierce Boggan (Microsoft): It even works on Visual Studio for Windows which makes it even more awesome than it already is ­čÖé

Update 2:
Now with added documentation!

Related articles

February 15, 2016 11:36 in

Using custom fonts in Xamarin.Forms

Xamarin.Forms is a great platform for quickly making multi-platform mobile apps. Xamarin markets it as a platform that isn’t quite suited for creating complex UIs but that doesn’t necessarily have to be the case. When it comes to branding your app using a custom font can go a long way. The problem that arises is […]

May 31, 2017 11:36 in

Xamarin and DevOps: Setting up your iOS CI

Congratulations, you’ve made it to the third┬ápost in this┬áseries on getting started with DevOps in a Xamarin project. Last time we created a Continuous Integration pipeline for Android so┬áthis time it’s iOS’ turn! A lot of things will look familiar if you followed along with the previous post but for the sake of ┬ácompleteness I […]

November 30, 2018 16:45 in

Xamarin.Forms in Space!

As you may have seen from reading other content on this blog I dabble in the world of cryptocurrency. To help me on my position sizing I figured I’d create a little calculator app. Obviously, if you know me, that has to look sexy. So I decided to go on a journey into space using […]