Emi*_*sen 2 c# crash xamarin.ios ios
将我的更新发送到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
Run Code Online (Sandbox Code Playgroud)
我认为这会导致崩溃,但我不知道如何解决它,它让我感到困惑,因为它在模拟器中与调试和发布一起工作,但在我的设备上却没有.
你好,你正在使用2个库结合MBProgressHUD
,MBProgressHUD.MTMBProgressHUD
并AlexTouch.MBProgressHUD.MBProgressHUD
请只使用一个,我会建议使用在一个Xamarin组件商店的这一个较新的版本MBProgressHUD
,你可以放心地替换正在使用当前的.
顺便说一句,我是AlexTouch.MBProgressHUD.MBProgressHUD
C#Binding 的作者,我可以告诉你它最近没有更新,所以我鼓励你使用组件商店中的那个.荣誉对乔纳森·乔治对他惊人的图书馆.
希望这可以帮助
亚历克斯
归档时间: |
|
查看次数: |
271 次 |
最近记录: |