Bug 27093 - In storyboard, Split View Controller spawns with an error
Summary: In storyboard, Split View Controller spawns with an error
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: unspecified
Hardware: Macintosh Mac OS
: Low normal
Target Milestone: 5.8.x (C4SR4)
Assignee: Alex Corrado [MSFT]
URL:
: 26951 27861 ()
Depends on:
Blocks:
 
Reported: 2015-02-16 07:25 UTC by Albert Iksanov
Modified: 2015-03-23 12:50 UTC (History)
8 users (show)

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


Attachments
Screenshot showing the error message (79.40 KB, image/png)
2015-02-17 00:28 UTC, Albert Iksanov
Details
Storyboard with SplitView error (686 bytes, application/octet-stream)
2015-03-06 06:20 UTC, Albert Iksanov
Details
Idle log file (60.43 KB, text/rtf)
2015-03-06 06:21 UTC, Albert Iksanov
Details
iOS Designer log file (84.13 KB, text/rtf)
2015-03-06 06:21 UTC, Albert Iksanov
Details


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

Description Albert Iksanov 2015-02-16 07:25:37 UTC
When adding UISplitViewController to a storyboard, it's being added, but is drawn with a red background and an error (screenshot in attachment). Works even in a new project (Classic API).
Comment 1 Sebastien Pouliot 2015-02-16 11:18:44 UTC
-> iOS designer

Note that there's not screenshot attached
Comment 2 Alan McGovern 2015-02-16 11:39:06 UTC
Albert, can you attach the xamarin studio version information ( http://kb.xamarin.com/customer/portal/articles/1675684-how-to-collect-version-information-and-logs ) and a copy of the storyboard triggering the error?
Comment 3 Albert Iksanov 2015-02-17 00:28:32 UTC
Created attachment 9864 [details]
Screenshot showing the error message
Comment 4 Albert Iksanov 2015-02-17 00:30:08 UTC
Version info:

=== Xamarin Studio ===

Version 5.7.1 (build 17)
Installation UUID: 4c2819cc-3e8e-4ceb-ad7d-b9fe2979873a
Runtime:
	Mono 3.12.0 ((detached/de2f33f)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000076

=== Xamarin.Android ===

Not Installed

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.iOS ===

Version: 8.6.1.20 (Business Edition)
Hash: 3b3ef43
Branch: 
Build date: 2015-01-24 09:42:21-0500

=== Xamarin.Mac ===

Not Installed

=== Build Information ===

Release ID: 507010017
Git revision: 0bc7d3550b6b088ac25b08dcf7bbe73bcc8658b3
Build date: 2015-02-03 19:43:29-05
Xamarin addins: f7b7d34419c9ec24501bfa7c658e80a6305613e0

=== Operating System ===

Mac OS X 10.10.2
Darwin iMac.local 14.1.0 Darwin Kernel Version 14.1.0
    Mon Dec 22 23:10:38 PST 2014
    root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Comment 5 Alan McGovern 2015-02-17 04:01:05 UTC
Thanks!
Comment 6 Charles 2015-03-04 10:27:55 UTC
I'm having exact same issue.  Was there a fix to this?

I’m on Xamarin version 5.7.2 (build 7) on Yosemite (10.10.2)
Comment 7 Alan McGovern 2015-03-06 05:50:03 UTC
We cannot reproduce this error with any revision of Xamarin Studio 5.7.x.

Can someone attach a copy of a storyboard which reproduces the error for them and also a copy of the log files found when you click Help -> Open Log Directory? We need both the Ide.*.log and the iOSDesigner.*.log from the session where you trigger the error.

It's possible, though unlikely, that this error is Yosemite specific. I will be able to test that on a Yosemite machine on Monday.
Comment 8 Albert Iksanov 2015-03-06 06:20:32 UTC
Created attachment 10183 [details]
Storyboard with SplitView error
Comment 9 Albert Iksanov 2015-03-06 06:21:10 UTC
Created attachment 10184 [details]
Idle log file
Comment 10 Albert Iksanov 2015-03-06 06:21:32 UTC
Created attachment 10185 [details]
iOS Designer log file
Comment 11 Albert Iksanov 2015-03-06 06:23:49 UTC
Submitted storyboard file and parts of the log files relevant to that project. Note that there was an error opening the storyboard for the first time (I've made another ticket for that problem) - it happens every now and then, with or without SplitView, but I thought it could be relevant still.
Comment 12 Charles 2015-03-06 06:26:42 UTC
I was able to reporiduce this issue on a brand new Macboood pro On a fresh installation of the latest Xcode and  Xamarin.  Iphone split view controller works but not iPad split controller.  Please try this on a Yosemite
Comment 13 Alex Corrado [MSFT] 2015-03-06 07:10:14 UTC
I was able to repro. Fixed in md-addins master by 4e29c5e95d2fd7f8b21bb21010f7202cb8ee8087
Comment 14 Charles 2015-03-06 21:02:39 UTC
what is this mean?

I was able to repro. Fixed in md-addins master by
4e29c5e95d2fd7f8b21bb21010f7202cb8ee8087
Comment 15 Charles 2015-03-07 10:27:12 UTC
I just installed all update but still having the same issue. What was the fix???????
Comment 16 Alan McGovern 2015-03-07 14:56:12 UTC
The fix will ship as part of Xamarin Studio 5.9. I believe the corresponding Visual Stufio release will be 3.10
Comment 17 Charles 2015-03-07 22:10:20 UTC
Latest  xamarin studio I have is 5.7.2. You are saying I have to wait 2 major releases before getting this fix?  When is the eta for getting 5.9 release?  Are we talking about weeks or month?    I think this feature is a critical bug that should be addressed ASAP.
Comment 18 Alan McGovern 2015-03-09 12:39:37 UTC
This error should be purely cosmetic in the context of the the designer. Whilest an error will show on the actual UISplitViewController, the Master view and Detail view will both render correctly. As such it should be safe to ignore this error.

The expected release date for the fix is in the region of 'weeks' more than 'months' but I can't give an exact date.
Comment 19 Charles 2015-03-09 22:06:14 UTC
This bug is not purely cosmetic issue.    It is a major functional bug.   Create a tab view controller and link this splitviewcontroller as one of the tab. Storyboard crashes. Basically you can include split view controller as one of the tab item in tab view controller   Please help!!
Comment 20 Alex Corrado [MSFT] 2015-03-10 00:50:59 UTC
We were not aware of the crash. Otherwise the bug probably would've been prioritized higher.

As a workaround until the fix is released, you might try this: drop down the "View As" setting at the top and choose "Enable Size Classes." Then, drop that down again and select "iPad." That should allow you to do your work. If you don't want to leave size classes enabled, you can disable them in the property panel by clicking in an empty area of the design surface, unselecting "Use Size Classes" under Widget properties, and then choosing to keep the iPad layout. Even though the error will appear, you can still save the storyboard and your app should work the way you expect.
Comment 21 Alex Corrado [MSFT] 2015-03-10 14:40:13 UTC
*** Bug 26951 has been marked as a duplicate of this bug. ***
Comment 22 Charles 2015-03-10 22:18:10 UTC
I've tried your suggestion.  it works when you enable size classes but as soon as you unselecting "use size classes" option and pick iPad, storyboard crashes again.  

When will this be fixed?
Comment 23 Alan McGovern 2015-03-11 05:48:19 UTC
*** Bug 27861 has been marked as a duplicate of this bug. ***
Comment 24 Saurabh 2015-03-19 06:18:20 UTC
I have checked this Issue with latest master build. I am successfully able to SplitViewController to Storyboard file. This is the screencast for the same: http://www.screencast.com/t/21ex4M6cUe6

=== Xamarin Studio ===

Version 6.0 (build 178)
Installation UUID: 91997f85-0008-4b4c-9f53-c7f991fcdae3
Runtime:
	Mono 4.0.0 ((detached/1605a60)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000083

=== Xamarin.Android ===

Version: 4.20.1.0 (Trial Edition)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.Mac ===

Version: 1.12.0.14 (Starter Edition)

=== Xamarin.iOS ===

Version: 8.11.0.273 (Trial Edition)
Hash: 3c0d5db
Branch: master
Build date: 2015-03-18 20:44:35-0400

=== Build Information ===

Release ID: 600000178
Git revision: c585b9918fdbaf534225b3362ff0a6792cccbc88
Build date: 2015-03-18 17:02:15-04
Xamarin addins: 3e327f728025b9d318d4f6dda96bbedad99be80d

=== Operating System ===

Mac OS X 10.10.2
Darwin Apples-iMac.local 14.1.0 Darwin Kernel Version 14.1.0
    Mon Dec 22 23:10:38 PST 2014
    root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Comment 25 Charles 2015-03-19 08:19:19 UTC
We're you able to add split controller view to the tab controller?  Curently storyboard crashes when you add split controller as one of the tab.  Please confirm. Thx
Comment 26 Alan McGovern 2015-03-19 09:59:14 UTC
If this does not match what you're doing, do let me know: http://screencast.com/t/iT40KAG3C
Comment 27 Charles 2015-03-19 11:00:46 UTC
Yes that is exactly what i was trying to do.  When will this fix be available?
Thanks
Comment 28 xamarin-release-manager 2015-03-19 14:56:17 UTC
Fixed in version 5.8.2.4 (monodevelop-5.8-branch)
Comment 29 Saurabh 2015-03-20 05:23:22 UTC
I have checked the same mentioned in comment#25 and comment#26. I am successfully able to add split view controller to Tab view controller. This is the screencast for the same: http://www.screencast.com/t/7cCOgFsc

=== Xamarin Studio ===

Version 5.8.2 (build 4)
Installation UUID: 2939b8b4-8977-42bd-82d6-100275ccd9cd
Runtime:
	Mono 3.12.1 ((detached/b63df7d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312010002

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.8.2.1 (Trial Edition)
Hash: c2ed8f0
Branch: 
Build date: 2015-03-19 17:45:41-0400

=== Xamarin.Android ===

Version: 5.1.0.66 (Trial Edition)
Android SDK: /Users/360_macmini/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 1.10.0.21 (Trial Edition)

=== Build Information ===

Release ID: 508020004
Git revision: 49b0083f61fb33dfc111583d1ea6c74559296604
Build date: 2015-03-19 16:15:20-04
Xamarin addins: 09c82518abf457aca0c682e788d752baa61759b5

=== Operating System ===

Mac OS X 10.9.4
Darwin 360-MACMINIs-Mac-mini-2.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 30 Saurabh 2015-03-20 05:33:25 UTC
An updated to comment#29

Correct Build info
=== Xamarin Studio ===

Version 5.8.2 (build 4)
Installation UUID: 91997f85-0008-4b4c-9f53-c7f991fcdae3
Runtime:
	Mono 3.12.1 ((detached/b63df7d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312010002

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.8.2.1 (Trial Edition)
Hash: c2ed8f0
Branch: 
Build date: 2015-03-19 17:45:41-0400

=== Xamarin.Android ===

Version: 4.20.1.0 (Trial Edition)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 1.12.0.14 (Trial Edition)

=== Build Information ===

Release ID: 508020004
Git revision: 49b0083f61fb33dfc111583d1ea6c74559296604
Build date: 2015-03-19 16:15:20-04
Xamarin addins: 09c82518abf457aca0c682e788d752baa61759b5

=== Operating System ===

Mac OS X 10.10.2
Darwin Apples-iMac.local 14.1.0 Darwin Kernel Version 14.1.0
    Mon Dec 22 23:10:38 PST 2014
    root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Comment 31 Alan McGovern 2015-03-22 20:20:12 UTC
The fix is in the alpha channel. Do let us know if you have any further issues.