This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 5084 - Error synchronizing changes from XCode
: Error synchronizing changes from XCode
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in
: 3.0.x
: Macintosh Mac OS
: Normal normal
: ---
Assigned To: Mike Krüger
  Show dependency treegraph
Reported: 2012-05-15 01:34 EDT by Tom Opgenorth
Modified: 2012-06-05 09:32 EDT (History)
4 users (show)

See Also:


Description Tom Opgenorth 2012-05-15 01:34:32 EDT
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
() [0x000bc] in
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update () [0x0022a]
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update (Boolean
force) [0x0000c] in
  at MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext.get_ProjectInfo ()
[0x0002e] in
(IProgressMonitor monitor, MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext
context) [0x000d8] in
  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.SyncXcodeChanges
(IProgressMonitor monitor) [0x00069] in
Comment 1 Jeffrey Stedfast 2012-05-15 13:19:56 EDT
this looks like a bug in the new TypeSystem code
Comment 2 Mike Krüger 2012-05-16 03:16:13 EDT
Comment 3 Jeffrey Stedfast 2012-05-16 13:51:55 EDT
*** Bug 5123 has been marked as a duplicate of this bug. ***
Comment 4 ramesh.sringeri 2012-05-16 13:56:21 EDT
When will the fix be available for use? Currently I had to downgrade to
Comment 5 mhutch 2012-05-17 15:28:34 EDT
This fix has been backported, it should be released within the next few days in
Comment 7 Mike Krüger 2012-06-01 06:35:26 EDT
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
(I don't know that much about the workings of the x-code roundtrip :( )
Comment 8 ramesh.sringeri 2012-06-01 07:34:59 EDT
I have resisted upgrading to 3.0.2 because 3.0 caused significant work loss.
Will upgrade and update the thread. Keeping fingers crossed.
Comment 9 ramesh.sringeri 2012-06-01 09:00:40 EDT
Unfortunately the bug fix is not working with my installation of XCode. Still
get the same exception.

Reverting back to 2.8 :-(
Comment 10 Ronald 2012-06-05 09:32:45 EDT
Just updated this morning and I get this error message when switching from
interface builder back to monodevelop. Not resolved apparently...

Note You need to log in before you can comment on or make changes to this bug.