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.
Created attachment 14427 [details]
Storyboard files load very slow (takes over a minute) or does not load at all in VS 2015 (with latest Xamarin tools installed)
# Version information
Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Installed Version: Professional
LightSwitch for Visual Studio 2015 00322-50050-70321-AA781
Microsoft LightSwitch for Visual Studio 2015
Visual Basic 2015 00322-50050-70321-AA781
Microsoft Visual Basic 2015
Visual C# 2015 00322-50050-70321-AA781
Microsoft Visual C# 2015
Visual C++ 2015 00322-50050-70321-AA781
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 14.0.20626.0
ASP.NET and Web Tools
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Generates unit test code for methods in classes under test.
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
NuGet Package Manager 3.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2015 ENU 14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.50730.0
Microsoft SQL Server Data Tools
Visual Studio Tools for Universal Windows Apps 14.0.23309.00 d14oob
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
Xamarin 188.8.131.527 (1390b70)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 184.108.40.206 (d300845)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 220.127.116.11 (ea30b32)
Visual Studio extension to enable development for Xamarin.iOS.
I'm finding the very same issue here using the latest version of Xamarin Visual Studio as of this date.
It might be a separate issue but the iOS designer is unusably slow in the latest (6.0.5174) Xamarin Studio too. An empty storyboard, created by Xamarin Studio itself, cannot load for at least 20 minutes. It was very slow in the previous XS too but it did load, now it just spins endlessly.
The log files from a slow loading session would be incredibly useful. With those we'll be able to tell which part is not working correctly. Could you attach them so we can review them?
For reference, the original log files contain sign of the designer starting so it's likely whatever the problem is, it's not related specifically to the designer. More log files might shed more light on the problem.
How do I collect the logs? Also, are there of any use if the designer never finishes loading? I had it loading for 20 minutes and then went to have dinner for another 20, when I got back, it hadn't loaded so I am definitely not waiting for it to complete.
I am also getting this issue in Xamarin Studios on OS X. I've been waiting 20+ minutes and it isn't loading.
Yes, I forgot to clarify, I get it on OS X too.
The logs are useful even if the designer never loads. The set of logs originally attached indicate that the designer core never started loading. If that is consistently the case then we know where to start looking.
You can get the locks in either IDE by clicking on Help -> Open Log Directory. The name of the property might change between IDEs. Also if you are in VS it does help to be connceted to the mac when gathering the logs as there are other log files VS will include which are located on the Mac.
Created attachment 16372 [details]
Logs from the iOS designer in Xamarin Studio on OS X
There you go. I do hope this helps with the fix because the iOS designer is outright useless at present.
For the people experiencing this problem, have you opened Xcode at least once?
Alex, the first error seems to be this:
system: Jun 16 21:57:58 Dimitars-MacBook-Pro-2 installd: 0x700000117000 __69-[MIFileManager urlsForItemsInDirectoryAtURL:ignoringSymlinks:error:]_block_invoke: Ignoring symlink at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/CoreServices/CFNetworkAgent
system: Jun 16 21:57:59 Dimitars-MacBook-Pro-2 sharingd: (Error) MC: MobileContainerManager gave us a path we weren't expecting; file a radar against them
Overriding MCM with the one true path
system: Jun 16 21:58:00 Dimitars-MacBook-Pro-2 sharingd: 21:58:00.111 : SDActivityPayloadManager::loadPersistedKeyRequests Clearing store as format is invalid (null)
[2016-06-16 21:58:00.8] ERROR: com.xamarin.MTHosting.413671: InstallAndLaunch (attempt 1): Foundation.ObjCException: NSPortTimeoutException: connection timeout: did not receive reply
at ObjCRuntime.Runtime.ThrowNSException (IntPtr ns_exception) <0x1beedeaf0 + 0x00082> in <filename unknown>:0
at ObjCRuntime.Runtime.throw_ns_exception (IntPtr exc) <0x1beedeaa0 + 0x00014> in <filename unknown>:0
at (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)
at (wrapper managed-to-native) MonoTouch.Hosting.Internal.Messaging:xamarin_bool_objc_msgSend_IntPtr_IntPtr_ref_IntPtr (intptr,intptr,intptr,intptr,intptr&)
at Bindings.SimDevice.InstallApplication (Foundation.NSUrl bundlePath, Foundation.NSDictionary options, Foundation.NSError& err) [0x00028] in /Users/builder/data/lanes/3342/694a75f0/source/md-addins/Xamarin.Designer.iOS/external/ios-sim-sharp/MonoTouch.Hosting/Bindings/SimDevice.g.cs:266
at MonoTouch.Hosting.CoreSimulatorFullSession.InstallApplicationImpl (System.String bundlePath, System.String bundleId) [0x00058] in /Users/builder/data/lanes/3342/694a75f0/source/md-addins/Xamarin.Designer.iOS/external/ios-sim-sharp/MonoTouch.Hosting/CoreSimulatorFullSession.cs:178
I have no idea if you mean once in the current user session or ever but I opened the xib in the iOS designer, it failed to load, then I opened it with Xcode and it loaded immediately, then it failed to load again in the iOS designer.
I am new to Xamarin, but its unbeareable - what on earth is going on how can Microsoft back this product? How can any company / developers produce anything that works in the story board? I have the fastest mac and pc available on the market and still it takes a minute to expand a label field in a view on the storyboard.. this is crazy! FIX IT.
I worked out what was slowing things down so much - images set to back, i.e. background images on the uiviews, even low-res images made the designer grind to a halt, so remove the image then edit. hope that helps someone out there with the same problem.
and even better add the background image dynamically, so it does not affect your editor at all.
Thank you all for your detailed reports on this. We've shipped some core performance improvements for both Mac and Windows that should significantly improve start up time for the designer. I'm closing the issue now, but please feel free to reopen it and comment if you are still seeing this issue in the latest releases. Thanks again.