Bug 18727 - Unable to open Storyboard file in VS when build host is Lion
Summary: Unable to open Storyboard file in VS when build host is Lion
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 0.x Insider Preview
Hardware: PC Windows
: Low minor
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on: 18449
Blocks:
  Show dependency tree
 
Reported: 2014-04-02 05:33 UTC by narayanp
Modified: 2014-05-20 06:08 UTC (History)
4 users (show)

Tags:
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 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:
Status:
VERIFIED FIXED

Description narayanp 2014-04-02 05:33:51 UTC
Steps to reproduce:
1. Open VS and connect to lion build host.
2. Open or create iOS storyboard application.
3. Open MainStoryboard.Storyboard file in VS

Actual result: File does not render in VS and giving exception.  This is happening when connected to Lion(It support Xcode below 5.0). If user is connected to ML or Maverick and having Xcode below version 5.0 in that case, storyboard file opens successfully in VS.

Expected Result: Storyboard file should open successfully in VS if connected to lion build host.

Supplement info:
Error details: https://gist.github.com/saurabh360/54364ea6f09a1a706943
Trace log: https://gist.github.com/saurabh360/f835668b159c72c1ba82
mtbserver log: https://gist.github.com/saurabh360/0b1dd39159601b2ff1c2

Environment details:
All Windows
VS 2013/2012
Xamarin for VS 1.99.637
Xamarin.iOS 7.2.1-185
Comment 1 Alan McGovern 2014-04-02 11:06:42 UTC
The stack trace is truncated due to bug #18449.

Other than that, we don't support any Xcode older than 5, so Lion is not expected to work. We should not be crashing mtbs though, so if mtbs is crashing we should figure out why.
Comment 2 Alan McGovern 2014-04-07 13:15:00 UTC
I'll make sure we properly error out if the detected xcode is < 5.
Comment 3 Alan McGovern 2014-04-09 12:36:43 UTC
We added handling so that if an old Xcode is detected we disable the designer. This matches what we do in Xamarin Studio:

https://github.com/xamarin/XamarinVS/commit/7f20c9acdff5add3719a89412b3b67ae4624db0e
Comment 4 narayanp 2014-05-20 06:08:08 UTC
I have checked this issue with following builds

VS 2013/2012/2010
Xamarin for VS 2.00.110

I am getting proper error when Xcode is below 5.0. I am getting error "The iOS Designer requires Xcode 5.0 or higher. Visual Studio is currently configured to use Xcode 4.x.x. You must either upgrade Xcode or configure Visual Studio to use a different Xcode installation in the Apple SDk Settings section of the Preferences"