Remote Simulator to Windows option is not exists in Tools / Options / Xamarin / IOS Settings.
Its seen like this :
What I have done so far :
I have installed the simulator from here that is from this resource.
I have already restarted both my PC and MAC Mini.
I have activated the remote login on MAC Mini by reading the manuel.
I have checked if the PC is connected.
What can I do to fix this?
Thanks.
It will work only on enterprise
https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/
Remoted iOS Simulator requires a Visual Studio Enterprise license
Check for Visual Studio updates. I had the same problem and I solved it updating Visual Studio.
I hope it works.
Let your voice be heard if you feel iOS Simulator should be included in other levels of VS.
https://xamarin.uservoice.com/forums/144858-xamarin-platform-suggestions/suggestions/17194163-allow-use-of-remoted-ios-simulator-from-all-editio
it will also work in Visual Studio Community 2017, Enterprise is not necessary.
Just Go to tools>Extentions and Updates and update your VS. Then you should be able to see "Remote Simulator to Windows" in tools > option > Xamarin > iOS Settings. Enjoy...
Related
Good morning and thank you for your time,
I am maintaining a mobile App made in Xamarin classic IOS with the Visual Studio Mac IDE. Recently Apple told me that I had to increase the SDK of this application to 15 to be able to upload my new version to the App Store, for this I had to update the operating system to MacOS Monterey Version 12.3.1, to later update Xcode 13.4 and to update the SDK of my project, once this change was made in Visual Studio Mac debugging options were disabled and the debug icon was changed to compile. When I access Run in the top menu of visual studio mac, the options to start debugging are disabled and no matter how much I change the debug project options remains the same.
Regards
enter image description here
It is very likely that you have some other Debug configuration that works (in Xamarin it could be Debug|iPhone).
After four weeks, I returned to my Xamarin project in Visual Studio to finish my app, I updated Visual Studio on my Windows PC, I updated XCode on my Mac and when I try to launch emulator, I get this:
I changed nothing in the code, it worked previously. The only thing I can think of that could f*ck all up is I was trying to prepare my app for testing (so I was doing some stuff in developer account settings, provisioning etc.)
Does anyone know how to fix this, or at least what it means?
Thanks!
Okay, turns out the problem was in version mismatch :) All I needed to do was click "Update on Mac" in the "Connect to Mac" window.
We recently acquired mobile solution that contains an ios and android project. Android project runs fine. When i run the ios project i get error stating
My environment is a windows laptop and a macbook pro running visual studio from windows.
I can pair to mac just fine
I am using automatic provisioning which appears to be correct since my team shows up in the team dropdown.
I feel like i did the provisioning correct because team would not show up in dropdown if not.
I have latest xcode installed on mac
I verified simulator runs fine on mac by starting through xcode
In the videos i watched as soon as mac was paired then more options appeared besides just simulator. (ipad, tvos, etc)
One question is when i registered my device i used the UUID from the macbook and not UUID of simulator. Could not get straight answer for this.
To be clear i am just trying to run the simulator and not a remote device.
Honestly i just want to be able to test the ios application. It should not be this many steps to just run a test. Is there a more simple way to test or am i on the right track?
Updating visual studio on my windows machine did the trick. I really wish the error would give me some kind of warning that would lead me to the conclusion that i needed to update visual studio. That would have saved me many hours.
Visual Studio 2017 v15.9 on Windows 10 has apparently a new bug: the storyboard designer cannot connect to Mac. Previously in 15.8, the storyboard could connect and many features are working fine, however the ImageView could not work properly. After upgrading to to VS 2017 v15.9, the storyboard editor could not connect to Mac thus could not be opened, while VS is actually connecting to Mac and is able to compile and debug and deploy iOS app to simulators and devices.
I am having Mac Mini and xcode 10.1, but no VS for Mac. It is easy to replicate: just create a new Xamarin app with iOS project. After compiling and testing in simulators running in mac to prove things are OK, then double click on either LaunchScreen.storyboard or Main.storyboard created by scaffolding, then the designer tries to connect to Mac and end up with error message: "The iOS Designer requires an active connection to a Mac server. Please connect to a Mac to enable the designer.".
Now all my iOS apps work however I could not alter any storyboard. I don't like modifying the XML directly in a text editor.
I had spent hours researching solutions or hacks, so far no luck. Do you have some ideas? Cheers.
Here is a problem report that matches your bug description.
Visual Studio 15.9.2 has just been released, so try updating Visual Studio.
Here is a snippet of the Visual Studio 15.9.2 release notes:
Issues Fixed in 15.9.2
Xamarin iOS designer not working with 15.9 and Xamarin.iOS 12.2.1.10.
I loaded Visual Studio Professional 2015
Version 14.0.25123.00 Update 2
Xamarin 4.0.3.214 (0dd817c)
Xamarin.Android 6.0.3.5 (a94a03b)
Xamarin.iOS 9.6.1.8 (3a25bf1)
However, when I bring up Visual Studio, the Tools/iOS menus items are disabled. The Android menu items ARE enabled.
Do you have installed Xamarin on a Mac and paired it to your Windows machine
Requirements & Installation
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.
Introduction to Xamarin.iOS for Visual Studio
Patience is a virtue. Eventually, the menu enabled itself while I was looking at a training video.
I got the same issue. When I installed Visual Studio 2017, first thing I did was to download an existing Xamarin project. When I checked the 'iOS' menu item in Tools it was all disabled.
After a restart of the system, I tried to create a new Cross Platform App (Xamarin). Once the solution is created, I got the following message and the iOS menu has Mac Agent option enabled.