Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Clicking Debug -> Start Without Debugging in Visual Studio launches the iOS Simulator on the MAC instead of using the one on Windows.
Sorry, my mistake. It launches both, on the MAC and on Windows. The application is then shown within the windows one. So the Bug obviously is the unnecessary launch of the MAC-iOS-Simulator.
Launching both simulators at the same time, using the same simulated device, creates a race condition which can break things randomly.
*** Bug 46558 has been marked as a duplicate of this bug. ***
This is a critical bug to fix for the connect release due to the inherent race conditions when launching *the same device* in both Apples simulator and our own.
@DeeKay I have had reports of this behavior before but could never properly repro. If you have logs (Mac logs, I mean) for starting up when this happens it would be super helpful.
@Alan I'm making this not a blocker issue since we never saw it actually producing any odd behavior other than a simulator opening in the Mac (which I think may be an effect of running Show Simulator, and not really a proper startup behavior).
Found the culprit and confirmed my theory. Fixing now.
So, the bug is pretty minor but it looks very bad. We put the simulator window on top (in the Mac) when running an app and this was happening even if we didn't run on the Mac but on Windows. This has now been fixed and will be available in the next release. Closing for QA verification.
if the simulated device in mac was the same as the simulated device we were starting on windows, it would've crashed one of the simulators.
Looks like we were getting lucky in that we were just starting the sim on mac and not forcing it to the same simulated device - that greatly reduces the odds of the same device being used.
Thanks for the fix!
I have check this issue with latest master(Xamarin.VisualStudio_220.127.116.11_618557565a762b6ae698d15e5d3b57e606b73f36 +Xamarin.Simulator.Installer.18.104.22.168) and cycle9 (Xamarin.Simulator.Installer.22.214.171.124_f045c2484442d4808ca936c09dc6c0a2c532bd3f+Xamarin.VisualStudio_126.96.36.1996_871330e54f5ded0b17ad5212a32ed989c9ca3d72) builds and observed that its working fine now.
Hence I am verifying this issue.