1

私は真新しい Mac Mini (snow leopard) をインストールし、XCode 4-2.2 をインストールしました。最新のmonotouchライブラリをインストール。

monotouch で .storyboard ファイルをダブルクリックすると、次のエラーが表示されます。何か案は?:

Objective-C 型情報の更新中にエラーが発生しました。操作はサポートされていません。

System.NotSupportedException: Operation is not supported.
  at ICSharpCode.NRefactory.TypeSystem.CecilLoader+BlobReader.ReadCustomAttributeFieldOrPropType () [0x00146] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/CecilLoader.cs:1224 
  at ICSharpCode.NRefactory.TypeSystem.CecilLoader+BlobReader.ReadNamedArg (IType attributeType) [0x00040] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/CecilLoader.cs:1173 
  at ICSharpCode.NRefactory.TypeSystem.CecilLoader+CecilResolvedAttribute.DecodeBlob (System.Collections.Generic.List`1 positionalArguments, System.Collections.Generic.List`1 namedArguments) [0x0008c] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/CecilLoader.cs:913 
  at ICSharpCode.NRefactory.TypeSystem.CecilLoader+CecilResolvedAttribute.DecodeBlob () [0x0000c] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/CecilLoader.cs:894 
  at ICSharpCode.NRefactory.TypeSystem.CecilLoader+CecilResolvedAttribute.get_PositionalArguments () [0x00014] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/CecilLoader.cs:869 
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectInfoService.ConvertType (MonoDevelop.Ide.TypeSystem.ProjectContentWrapper dom, ITypeDefinition type) [0x00064] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectInfoService.cs:174 
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectInfoService+<GetRegisteredObjects>c__Iterator2.MoveNext () [0x000d2] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectInfoService.cs:152 
  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.XcodeProjectTracker.UpdateTypes (IProgressMonitor monitor) [0x00031] in /Users/builder/data/lanes/monodevelop-mac-3.0.1/6642975f/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:392 
4

1 に答える 1

1

Monotouch は初めてで、同じエラーが発生しました。

Monotouch を閉じるだけです。XCode を開いて問題がないことを確認し、Xcode を閉じます。Monotouch を再度開くと、xcode の更新が実行され、問題が修正されました。

于 2012-06-02T14:19:55.067 に答える