【发布时间】:2013-05-21 08:23:59
【问题描述】:
将我的更新发送到 App Store 后,从 App Store 下载该应用程序时崩溃,但通过 Xamarin Studio 进行调试工作正常。
但现在当我尝试在我的设备上发布/调试时,它开始崩溃并出现此错误:
2013-05-21 10:20:30.933 nytLectio[10969:c07] Could not register the assembly 'MBProgressHUD': MonoTouch.MonoTouchException: Cannot register two managed types ('MBProgressHUD.MTMBProgressHUD' and 'AlexTouch.MBProgressHUD.MBProgressHUD') with the same native name ('MBProgressHUD').
at MonoTouch.Registrar.Registrar.RegisterType (System.Type type, System.Collections.Generic.List`1 exceptions) [0x00000] in <filename unknown>:0
at MonoTouch.Registrar.Registrar.RegisterAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0
我认为这就是导致崩溃的原因,但我不知道如何修复它,这让我感到困惑,因为它可以在模拟器中进行调试和发布,但不能在我的设备上使用。
【问题讨论】:
标签: c# ios xamarin.ios crash