Bug 6259 - MD could handle an Xcode timeout better
Summary: MD could handle an Xcode timeout better
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-07-24 14:00 UTC by PJ
Modified: 2013-11-06 18:00 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 or GitHub 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.

Related Links:

Description PJ 2012-07-24 14:00:04 UTC
When xcode takes a while to start up (for instance, on first run), monodevelop throws a TimeOut exception.

MonoDevelop.MacInterop.AppleScriptException: Xcode45-DP3 got an error: AppleEvent timed out.
  at MonoDevelop.MacInterop.AppleScript.Run (Boolean compile, MonoDevelop.MacInterop.AEDesc& scriptData) [0x00037] in /Users/builder/data/lanes/monodevelop-lion-master/a698b74d/source/monodevelop/main/src/addins/MacPlatform/MacInterop/AppleScript.cs:113 
  at MonoDevelop.MacInterop.AppleScript.Run (System.String scriptSource) [0x00010] in /Users/builder/data/lanes/monodevelop-lion-master/a698b74d/source/monodevelop/main/src/addins/MacPlatform/MacInterop/AppleScript.cs:83 
  at MonoDevelop.MacInterop.AppleScript.Run (System.String scriptSourceFormat, System.Object[] args) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-master/a698b74d/source/monodevelop/main/src/addins/MacPlatform/MacInterop/AppleScript.cs:74 
  at MonoDevelop.MacDev.XcodeSyncing.XcodeMonitor.OpenFile (IProgressMonitor monitor, System.String relativeName) [0x00033] in /Users/builder/data/lanes/monodevelop-lion-master/a698b74d/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeMonitor.cs:306 

After re-trying to open the .xib a few time (and Xcode 4.5 DP3 freezing), MD crashed with an apple report: https://gist.github.com/3171015

MD 3.0.4
MT 5.3.5 
Xcode4.5 DP3

Expected behavior:

Dialog appears, allowing the user to retry, wait another set amount (before re-showing the dialog), or cancel.

Filing as enhancement.
Comment 1 Jeffrey Stedfast 2013-11-06 18:00:50 UTC
This has been improved, it could probably still be better but with the iOS Designer taking over, I'm not sure this is worth our time.