Unable to debug Xamarin iOS App from Visual Studio 2015 after upgrade - xamarin.ios

I was able to debug my Xamarin cross-platform app on iOS as well as Android using Visual Studio 2015 on Windows. Recently, I installed Xamarin updates on Windows as well as Mac. After the upgrade, I am no longer able to debug portable library from iOS app. Breakpoint hits MainActivity.cs but later it doesn't stop at other breakpoints in portable library.
However, if I open the same project in Xamarin Studio on Mac, I can debug iOS and Android app.
Anybody has any idea about the possible solution for the issue?
Windows:
Visual Studio 2015
Xamarin 4.5.0.486
Xamarin.Android 7.3.1.2
Xamarin.iOS 10.10.0.37
Mac:
Xamarin Studio Enterprise 6.3
Xamarin.Mac 3.4.0.36
Xamarin.Android 7.3.1.2
Xamarin.iOS 10.10.0.36
XCode 8.3.3
iOS 10.3

Related

Android Studio 4.2 Canary wireless debugging is not working

I have installed Android Studio 4.2 Canary, but wireless debugging is not working at all (https://9to5google.com/2020/06/10/android-11-beta-1-wireless-debugging-jetpack-compose/).
I enabled it in developer options in mobile, even tried to connect to it using adb but Android Studio doesn't discover my phone.
Am I missing anything, like a plugin or something like that?
I am using Android Studio 4.2 on Windows 10.

VS Mac doesn't debug my Xamarin Android App after I have installed Android Studio

After I have installed Android Studio on my Mac, my xamarin apps no longer runs on my Visual Studio. The application output only now displays Forwarding Debugger Port ####. And my deploying to devices just builds the csproj. I am just over a year now with C#.
Any help would be appreciated. Thanks a lot!
My Visual Studio version is 2019 8.3 Professional.
For some reason, it seemed to work again after restarting. I have opened my Visual Studio first and not the Android Studio.

Use Xamarin Studio on Windows to build iOS app

Is it possible to build an iOS app using Xamarin Studio running on Windows and have it connect to the Xamarin.ios Build Host running on the mac?
The example I have seen only talk about using Visual Studio.
No it is not possible. Xamarin Studio on Windows will only build Android apps. If you are going to use Xamarin Studio and you have a connected Mac, then why not just use it on the Mac?
No you can't use Xamarin Studio on Windows and connect to the Xamarin.iOS build host, you have to use Visual Studio.
Just remember that you will need to do any design and layout tasks on Mac OS X using XCode though. On Xamarin Studio for OS X Alpha Channel there is an interface builder but I think it does not apply to the Windows version of Xamarin Studio or the Visual Studio addon.
You can write iOS apps on windows but you can not compile them unless you have xcode on mac
While not specifically answering the question, it should be noted that it is possible to develop for iOS in Visual Studios using a connected Mac as a build host. This connected Mac could either be through the network or can even be a VM running from your Windows machine.
You can now use the Interface Builder inside of Visual Studios on Windows to create iOS interfaces (only while connected to a Mac as described above).

How to build Mac host in visualstudio using xamarin

I installed xamarin in windows 7 Home Basic. I need to connect Mac host in visual studio, I get the ios settings to build, but its not host automatically.
On the Xamarin guides, they informed Craigs-MacBook.local but I cant get the host in my laptop. I simply struggled
Can you please explain me what can i do further to host Mac in windows PC to run iPhone.
Thanks in advance.
You need to install Xamarin on your Mac, then you have to activate your Xamarin Studio in both computers (Mac and Windows). To do this you need to:
Create a Xamarin account and set it or link it to your Visual Studio(Windows) and Xamarin Studio(Mac) IDEs so they can interact. This is Via Tools > Xamarin Account. It is not necessary to buy a license since you can start with the trial version of Xamarin.
Create a Test or whatever Project on both IDEs in order to be prompted to activate your Xamarin Studio and Visual Studio.
Once you have "activated" both your IDEs, you have to link Visual Studio to your iOS Xamarin via: Tools > Options > Xamarin > iOS Settings.
And that's all.
Maybe you can't set your Host Mac Xamarin.IOs in Visual Studio because you haven't activated your iOS Xamarin Studio in your Mac, in order to do that, in your Mac Xamarin Studio create a project from a template that utilizes network connections, and you'll be prompted to activate your Xamarin Studio. In Windows Visual Studio you have to create any project and you'll be prompted to activate your Visual Studio.
Also your SDKs on both machines may be out of synch, so you'll have to download some updates on your Mac and Win to synchronize both IDEs and SDKs in order for them to work together.
Also you have to install your Xamarin and Visual Studio in this order:
First, Install Visual Studio in Windows.
Second, Xamarin Studio in Mac and Windows.
Finally Link your Mac and Win through Visual Studio.
Also it is recommended to have a Windows Pro version since you can't use the Windows Phone Emulator on a Home (Core) Version of Windows 8 because you won't be able to install Hyper-V which is needed to run this Emulator. Furthermore, you'll need a Visual Studio Pro or higher version to link your Xamarin to Visual Studio.
Hope it helps!
I had to follow the instructions here: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/troubleshooting/offline.pdf
Basically I was missing:
Open spotlight on the mac
Type "xamarin build host"
Launch, and it shows a pairing prompt
I followed the on-screen instructions, using a pin to associate my windows machine

Xamarin 2.0 Iphone resource prefix

I have installed Xamarin 2.0 and i can now starte the iphone simulator from visual studio. I have added another Iphone resource prefix to my project Resources;images
When i run the app from Visual studio the resources in the images folder is not included in the app. If i run it from Xamarin studio on the mac, it all works fine.
Any suggestions on how to fix this ?
This appears to be a bug in the Xamarin.iOS addin for VS. I filed it.

Resources