微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

c# – 最后一次Xamarin.iOS更新后的SIGABRT错误

刚刚更新到最新版本的Xamarin工作室和Xamarin.iOS.现在我收到此错误

执行本机代码时获得SIGABRT.这通常表明
单声道运行时或其中一个本机库中的致命错误
您的应用程序使用.

嗯,实际上它甚至都不是错误.模拟器崩溃,并且没有出现可操作的错误. 10分钟前一切都很好……

我在Mac OSX上.

有任何想法吗?谢谢!

编辑

2015-05-08 08:46:58.951 ReflectMobileiOS [1761:93636]未处理的托管异常:
无法加载文件或程序集“Splat.Portable”或其依赖项之一.该系统找不到指定的文件. (System.IO.FileNotFoundException)
  在System.AppDomain.Load(System.Reflection.AssemblyName assemblyRef,System.Security.Policy.Evidence assemblySecurity)[0x00000] in:0
  在System.AppDomain.Load(System.Reflection.AssemblyName assemblyRef)[0x00000] in:0
  在System.Reflection.Assembly.Load(System.Reflection.AssemblyName assemblyRef)[0x00000] in:0
  at ObjCRuntime.Runtime.CollectReferencedAssemblies(System.Collections.Generic.List1 assemblies,System.Reflection.Assembly assembly)[0x00000] in< filename unkNown&gt ;:0
  在ObjCRuntime.Runtime.CollectReferencedAssemblies(System.Collections.Generic.List1程序集,System.Reflection.Assembly程序集)[0x00000]中:0
  在ObjCRuntime.Runtime.CollectReferencedAssemblies(System.Collections.Generic.List`1程序集,System.Reflection.Assembly程序集)[0x00000]中:0
  在ObjCRuntime.Runtime.RegisterEntryAssembly(System.Reflection.Assembly entry_assembly)[0x00000] in:0
  在ObjCRuntime.Runtime.RegisterEntryAssembly(IntPtr a)[0x00000] in:0
  在ObjCRuntime.Runtime.register_entry_assembly(IntPtr程序集)[0x00000] in:0
  at(包装器native-to-managed)ObjCRuntime.Runtime:register_entry_assembly(intptr)
2015-05-08 08:46:58.953 ReflectMobileiOS [1761:93636]批评:Stacktrace:

2015-05-08 08:46:58.953 ReflectMobileiOS [1761:93636]批评:
本机堆栈跟踪:

2015-05-08 08:46:58.962 ReflectMobileiOS [1761:93636] critical:0 ReflectMobileiOS 0x001baee7 mono_handle_native_sigsegv 311
2015-05-08 08:46:58.963 ReflectMobileiOS [1761:93636]关键:1 ReflectMobileiOS 0x001c1c31 sigabrt_signal_handler 129
2015-05-08 08:46:58.963 ReflectMobileiOS [1761:93636] critical:2 libsystem_platform.dylib 0x07fec03b _sigtramp 43
2015-05-08 08:46:58.963 ReflectMobileiOS [1761:93636]关键:3 ??? 0xffffffff 0x0 4294967295
2015-05-08 08:46:58.963 ReflectMobileiOS [1761:93636] critical:4 libsystem_sim_c.dylib 0x07d83a5a abort 156
2015-05-08 08:46:58.963 ReflectMobileiOS [1761:93636]关键:5 ReflectMobileiOS 0x00350b46 xamarin_unhandled_exception_handler 342
2015-05-08 08:46:58.964 ReflectMobileiOS [1761:93636]关键:6 ReflectMobileiOS 0x001bb75b mono_invoke_unhandled_exception_hook 91
2015-05-08 08:46:58.964 ReflectMobileiOS [1761:93636]关键:7 ReflectMobileiOS 0x001ba5e8 mono_handle_exception_internal 6200
2015-05-08 08:46:58.964 ReflectMobileiOS [1761:93636] critical:8 ReflectMobileiOS 0x001b8da9 mono_handle_exception 41
2015-05-08 08:46:58.964 ReflectMobileiOS [1761:93636] critical:9 ReflectMobileiOS 0x0014fcd8 mono_x86_throw_exception 136
2015-05-08 08:46:58.964 ReflectMobileiOS [1761:93636]关键:10 ??? 0x130d8f57 0x0 319655767
2015-05-08 08:46:58.965 ReflectMobileiOS [1761:93636]关键:11 ??? 0x131522d0 0x0 320152272
2015-05-08 08:46:58.965 ReflectMobileiOS [1761:93636]关键:12 ??? 0x131521e8 0x0 320152040
2015-05-08 08:46:58.965 ReflectMobileiOS [1761:93636]关键:13 ??? 0x1315216c 0x0 320151916
2015-05-08 08:46:58.965 ReflectMobileiOS [1761:93636]关键:14 ??? 0x13152198 0x0 320151960
2015-05-08 08:46:58.965 ReflectMobileiOS [1761:93636]关键:15 ??? 0x13152198 0x0 320151960
2015-05-08 08:46:58.966 ReflectMobileiOS [1761:93636]关键:16 ??? 0x1315208c 0x0 320151692
2015-05-08 08:46:58.966 ReflectMobileiOS [1761:93636]危急:17 ??? 0x13151fb8 0x0 320151480
2015-05-08 08:46:58.966 ReflectMobileiOS [1761:93636]关键:18 ??? 0x13151f6c 0x0 320151404
2015-05-08 08:46:58.966 ReflectMobileiOS [1761:93636]危急:19 ??? 0x13126b90 0x0 319974288
2015-05-08 08:46:58.966 ReflectMobileiOS [1761:93636]关键:20 ReflectMobileiOS 0x0034f8e0 xamarin_register_entry_assembly 32
2015-05-08 08:46:58.967 ReflectMobileiOS [1761:93636]关键:21 ReflectMobileiOS 0x0034d471 xamarin_main 1889
2015-05-08 08:46:58.967 ReflectMobileiOS [1761:93636]关键:22 ReflectMobileiOS 0x00074ff1主113
2015-05-08 08:46:58.967 ReflectMobileiOS [1761:93636] critical:23 libdyld.dylib 0x07cdfac9 start 1

2015-05-08 08:46:58.967 ReflectMobileiOS [1761:93636]批评:

执行本机代码时获得SIGABRT.这通常表明
单声道运行时或其中一个本机库中的致命错误

您的应用程序使用.

解决方法

得到了再次工作.结果发现没有找到NuGet包.读了它,它再次起作用.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐