Search code examples
xamarin.formsvisual-studio-mac

How can I push my Xamarin Forms code changes to all my dev devices at once?


I'm developing a Xamarin Forms app, which I'm testing in 2 android devices and 2 iOS devices, all connected to my mac.
I'm doing some rapid iterations in the code (GPS, ActivityTracking, etc) and then I'm deploying to all devices, one by one:

  1. Android -> Debug -> Google Pixel 2
  2. Android -> Debug -> LG Nexus 5
  3. iOS -> Debug -> Oscar's iPhone
  4. iOS -> Debug -> Oscar's iPad Pro

Selecting each device one by one and push the code takes some time.

Is there a way to push to all?

I don't need a debugger attached, just the new code on all devices.

I'm using the latest version of VS for Mac.

Even a command-line solution will work for me.


Solution

  • Personally, I'd use either AppCenter, with different Groups and auto update (force) or, use different build configs.