Xamarin iOS - Debug with crossover cable from windows to mac - ios

I am able to debug my app with WiFi connection; now i am trying to use a crossover cable to debug xamarin ios apps from my windows pc to mac.
I can locate the mac, connect and launch debug on the connected physical device, but during the compilation the process remains in a loop on the ping to the broker.
Does anyone know if you have to set up the network between the two computers in a particular way to make it work?
I'm using:
Visual Studio Enterprise 2019 version 16.11.8 (Windows PC)
Xcode 13.2.1 (Mini mac)
Thanks in advance

Related

Cannot use my iphone as adb in vscode on my windows machine

I have a windows pc and having vs code installed, but I have a IOS phone iPhone 11
I am a flutter developer(App developer) I want to test my created app on my iPhone, My laptop has a type 3.0 cable I used to connect with my iPhone
My iPhone is connected to my laptop using wire, i can control my ios from windows explorer but i cannot see connected device available in my vscode
In explorer
But only 3 devices is connected in vscode
You can't run an app on an iPhone in windows OS. you have to use Mac OS to run or test the IOS app. Apple limited environment of IOS and iPhone.
Unfortunately you can't run flutter apps from a Windows environment to ios the only way is you have a Mac device.
you can check the following question and see the suggestions there it might help you understand why it's not possible to this.
Developing for iOS device in Windows environment with Flutter

Debugging an iOS app on an M1 Mac from Visual Studio for Mac?

With the new M1 Mac:s, it is possible to run iOS apps, even apps distributed via AppCenter.
But, is it possible to deploy and debug a Xamarin iOS app directly to an M1 Mac from Visual Studio for Mac?
Apparently, XCode supports debugging iOS apps directly on the M1 Mac, see here.
In Visual Studio for Mac, looking in the list of devices for iPhone deployment, I can see my USB connected iPhone/iPad devices, but the M1 Mac is not listed. Nor is it listed among the iPhone Simulator devices.
Is there any way to get the Mac listed among the devices so that I can deploy my iOS app directly to the Mac?

Xamarin - Remote Mac emulation

I'm running Visual Studio 2019 on a Windows 10 machine and have developed a simple Xamarin app.
I've got a Mac mini, with XCode on it, on the same network.
In VS when I select the IOS project and choose debug the Mac mini successfully pairs to the Windows machine. However, nothing is displaying or shows up on the Mac mini.
My understanding is I'd see the app running or being emulated on the Mac at this point.
I'm not getting any error messages on either box or in VS.
Thanks.

Debug IOS Application on the AMD notebook

I have notebook with the AMD FX 7500 processor and Windows 10 pro.
I also have installed VS 2015 Community and Xamarin. Is it possible to debug developed iOS application without iPhone? If yes, then how ?
You cannot build, run or test an iOS app without a Mac.
You may install Mac OS on VM on a PC but it's illegal (Apple does not allow this in the Mac OS TOS) and it often does not really work.
As Xamarin doc says:
There are a few requirements that must be adhered to when developing
for iOS in Visual Studio. As briefly mentioned in the overview, a Mac
is required to compile IPA files, and applications cannot be deployed
to a device without Appleā€™s certificates and code-signing tools. Also,
the iOS simulator can be used only on a Mac.
No. You have to have an OSX machine to act as a build host.

Invoking tests on iPhone from Windows OS using Remote Server

I've recently started working with Appium. Have automated a flow on Android device and successfully run on the device. Have tried the same with iOS where the tests were invoked from Mac. The document on appium states as following
"Appium on OS X supports iOS and Android testing but from Windows we
can only test Android."
My question is, has anyone tried invoking the tests on iOS platform from OS other than Mac OS X like Windows or Linux?.
For example, using a Remote Server from Windows OS to connect to an Appium server running on Mac.
Or as usual do iPhones remain incompatible with anyone other than Mac.
Yes you can automate iOS devices using appium from windows platform
all you have to do is run your appium server in MAC with your ipv4 address..
then execute your automation script from windows to that ip address..
make sure that ip address is pingable from windows platform...
In this way you can actually use c# for automation script to automate iOS platform

Resources