I'm editing a .storyboard file: I double clicked on the file in MonoDevelop, and XCode starts up. I then added three text fields, saved in XCode, and the quit Xcode.
Here is the stack trace for the error:
System.InvalidOperationException: Both arguments to IsDerivedFrom() must be from the same compilation.
at ICSharpCode.NRefactory.TypeSystem.ExtensionMethods.IsDerivedFrom (ITypeDefinition type, ITypeDefinition baseType) [0x00029] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/ExtensionMethods.cs:92
at MonoDevelop.MacDev.ObjCIntegration.NSObjectInfoService+<GetRegisteredObjects>c__Iterator2.MoveNext () [0x000bc] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectInfoService.cs:151
at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update () [0x0022a] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:102
at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update (Boolean force) [0x0000c] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:73
at MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext.get_ProjectInfo () [0x0002e] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeSyncBackContext.cs:77
at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.AddCustomClassesFromUIDefinitionFiles (IProgressMonitor monitor, MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext context) [0x000d8] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:611
at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.SyncXcodeChanges (IProgressMonitor monitor) [0x00069] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:464
this looks like a bug in the new TypeSystem code
*** Bug 5123 has been marked as a duplicate of this bug. ***
When will the fix be available for use? Currently I had to downgrade to 18.104.22.168
This fix has been backported, it should be released within the next few days in 3.0.2.
should be fixed in master - would be nice to have a project to verify that it works. I needed to fix it in master without use-case and I made a wrong assumption.
(I don't know that much about the workings of the x-code roundtrip :( )
I have resisted upgrading to 3.0.2 because 3.0 caused significant work loss. Will upgrade and update the thread. Keeping fingers crossed.
Unfortunately the bug fix is not working with my installation of XCode. Still get the same exception.
Reverting back to 2.8 :-(
Just updated this morning and I get this error message when switching from interface builder back to monodevelop. Not resolved apparently...
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 Links.
Create a new report for Bug 5084 on Developer
Community or GitHub if you have new information to add and do not yet see a matching
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
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.