debuggin on an Iphone from Xamarin Ios Windows? - debugging

I am developping an Ios application with Xamarin.Ios under a windows pc connected with a Mc through network. I am juste wondering when I need to debug in a real device (Iphone) should I plug the device in the Mac or in the pc? Thank You

You must to connect the device to Mac. But that's not all. You must setting up your device for development. It is detail manual.

Related

Debug an app on Chrome-OS device using Mac

tldr:
I have an Acer Chromebook laptop which can also be used as a tablet. Can I connect it to my Mac as a device for Android Studio?
Detailed version:
I have a Mac on which I've installed Android Studio for developing Android and Chrome-OS applications. I want to debug an app for chrome-os, but not on the emulator, but on a real device. Can I connect the Acer Chromebook to my Mac for debugging (it's possible to connect Android phone to the Mac, but I don't know about Chrome-OS devices).
If it's not possible, what's the best way to debug an app the that specific device?
The ways to debug apps on Chromebook from another device are debugging via USB or debugging via WIFI.

Can I connect an iPhone to a windows 10 machine to see my work in Flutter?

I want to see my work without using a simulator from Android Studio. Currently I have an Android Phone and it works when I connect my phone with Windows 10.
Can I do the same with an iPhone?
Flutter relies on Xcode and the iOS SDK to perform the underlying compilation and publishing of iOS apps. Unfortunately, it's not possible to do iOS development on Windows, a Mac is required.
Some googling reveals there are several online services, such as MacInCloud and MacStadium that provide a means to pay for a remotely accessible VM in the cloud if you'd prefer not to purchase a Mac, though not having used any, I can't personally vouch for any of them.

Xamarin iOS Debugging

I am trying to debug a Xamarin application on my iPhone which is connected to my Windows machine but Visual Studio does not display my iPhone in the options list. It displays an option named "Device" and when I click debug choosing it, "please select a valid device" warning appears.
From the image shown on https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/debugging_in_xamarin_ios/, it seems like Xamarin supports debugging on an iPhone connected to the Windows machine (it shows "Amy's iPhone 6" on the list) but I can't have VS list my device. What can be the problem?
As of now, you can not compile or deploy apps for iOS on Windows. Your Windows machine where you develop the Xamarin app on needs to be connected to a MacOS device. When you hit Debug the iOS compiler on MacOS will compile the code and create the app package. Your iPhone needs to be connected there as well. See here for more info on that.
https://developer.xamarin.com/guides/ios/getting_started/installation/windows/
Apple does not allow to build apps for their platforms on other operating systems. So even if this would technically be possible, you will always need a MacOS for this.

Debugging Xamarin.iOS project without physical mac

My idea is to use macincloud to build xamarin project. And I'd like to debug it also.
On xamarin's site it's written that "Xamarin.iOS applications can be debugged with the built-in debugger in Xamarin Studio or Visual Studio." But it's still not clear if the device, for example iPad can be connected to Windows machine? Or It has to be connected to Mac only?
Device has to be connected to the Mac. If we are connecting to a mac remotely, we can use a Simulator and and view the result using a RDP client like TeamViewer. I'm not sure if that is possible with MainCloud. You can also go for Xamarin Test Cloud if that is feasible for you.
No, it's not possible to deploy to device and debug with MacinCloud. You can however launch a simulator and debug your app inside the emulator.
If you want to deploy to your ipad you can use publish your app with TestFlight service and install TestFlight builds on your iPad.
See more details at Developing iOS Apps in Visual Studio with MacinCloud
There are two possible ways how to do it. First one is more proper but it's in preview version - Microsoft introduced Xamarin Live Player.
Second way is to have your own virtual machine of macOS on Windows machine. Here is the tutorial how to do it.

xamarin for windows mobile and desktop

We are willing to create a new application that runs almost everywhere,
iOS, Android OSX and windows
We have sucesfully created samples for iOS, Android and OSX however we have the doubt of windows phone and windows desktop,
is it possible to have the same interface code for them both? or do we need to create the mobile and desktop version as well as in iOS and OSX?
Thank you so much!
Just like creating the iOS and Android Projects, you will need to create separate projects for Windows Phone and Windows Desktop.

Resources