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 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.
Created attachment 4709 [details]
Crash trace from Xcode
Trace from XCode attached.
What tool created that storyboard ?
The storyboard was created by Xamarin itself. Reproducible with a "blank" storyboard freshly created in the same project.
Interestingly, things work when opening the storyboard only from within XCode. Perhaps related to the XCode project file generation?
Can you provide us with all the version numbers of what you're using ?
The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
-> addin: not sure if it's the template ship with XS or something that happens when XS starts Xcode
Here are the version numbers:
=== Xamarin Studio ===
Version 4.1.9 (build 6)
Installation UUID: a2c3ebba-03b0-42fb-a504-a5d1b522dea9
Mono 3.2.2 ((no/a0fc6ba)
GTK+ 2.24.20 theme: Raleigh
Package version: 302020000
=== Apple Developer Tools ===
Xcode 5.0 (3329.43)
=== Xamarin.iOS ===
Version: 220.127.116.11 (Business Edition)
Build date: 2013-19-08 09:52:00-0400
=== Xamarin.Android ===
=== Xamarin.Mac ===
Xamarin.Mac: Not Installed
=== Build Information ===
Release ID: 401090006
Git revision: 123fc693ab9ba2690f93fcfe2cd3499335049ff4
Build date: 2013-08-06 15:11:38+0000
Xamarin addins: ad4a498b75333e43547e87574c1ec8c7cae05de0
=== Operating System ===
Mac OS X 10.8.4
Darwin Christians-MacBook.local 12.4.0 Darwin Kernel Version 12.4.0
Wed May 1 17:57:12 PDT 2013
I've just tried created a new "iPhone Storyboard" solution, and opening the generated storyboard in this solution works fine. This leads me to believe it has to do with the XCode project files that XS generates for the specific project I'm working on.
In the IDE log, I see the following:
ERROR [2013-08-24 18:18:20Z]: Error in code formatter
System.ArgumentException: count < 0
at Mono.TextEditor.TextDocument.GetTextAt (Int32 offset, Int32 count) [0x00054] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs:290
at Mono.TextEditor.TextDocument.ICSharpCode.NRefactory.Editor.ITextSource.GetText (Int32 offset, Int32 length) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs:1851
at ICSharpCode.NRefactory.CSharp.FormattingChanges.<ApplyChanges>m__329 (Int32 o, Int32 l, System.String v) [0x00008] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Formatter/FormattingChanges.cs:62
at ICSharpCode.NRefactory.CSharp.FormattingChanges.ApplyChanges (Int32 startOffset, Int32 length, System.Action`3 documentReplace, System.Func`4 filter) [0x000f6] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Formatter/FormattingChanges.cs:99
at ICSharpCode.NRefactory.CSharp.FormattingChanges.ApplyChanges (Int32 startOffset, Int32 length) [0x00022] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Formatter/FormattingChanges.cs:62
at MonoDevelop.CSharp.Formatting.CSharpFormatter.FormatText (MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy policy, MonoDevelop.Ide.Gui.Content.TextStylePolicy textPolicy, System.String mimeType, System.String input, Int32 startOffset, Int32 endOffset) [0x00126] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.9-branch/123fc693/source/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpFormatter.cs:123
Turns out this is not related to XS at all. XCode was crashing while scanning the SVN control directory:
8/24/13 6:31:14.342 PM Xcode: IDESourceControlFileScanning: Could not find a repository for working copy at <DVTFilePath:0x7ff2de22b1f0:'/Users/christian/Projects/tl-db'>
8/24/13 6:31:14.346 PM Xcode: -[NSAlert beginSheetModalForWindow:completionHandler:]: unrecognized selector sent to instance 0x7ff2df561a40
8/24/13 6:31:14.346 PM Xcode: [MT] DVTAssertions: UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSAlert beginSheetModalForWindow:completionHandler:]: unrecognized selector sent to instance 0x7ff2df561a40
My apologies for wasting your time.