FinishedLaunching中的ParseClient.Initialize("","")崩溃

时间:2014-11-15 20:01:43

标签: c# ios facebook parse-platform xamarin

我在我的Xamarin MonoGame iOS应用程序中加入了Parse 1.3.0。按照说明操作,我在FinishedLaunching()方法中执行以下操作:

ParseObject.RegisterSubclass<ParseUserData>();
ParseClient.Initialize("someKey", "someOtherKey");

我测试了我的应用程序在iPhone 4&amp ;;上的发布版本(不是App Store构建,因为它不会部署)。 5和iPad一起运行良好,没有互联网连接。我没有在iPod(苹果评论家使用过)上进行测试,因为我无法访问iPod并且已经停止使用。在提交审核之后,我得到苹果的拒绝,引用了应用启动时的崩溃。根据下面列出的崩溃日志,它似乎是由ParseClient.Initialize引发的异常。我个人无法在任何iPhone或iPad上复制错误,因为我不知道审阅者的变量有何不同以及究竟是什么导致了异常。我很感激如何解决这个问题的提示。

Hardware Model:      iPod5,1
2014-11-06 01:21:36.044 TopShooteriOS[1558]: <Error> Could not successfully update network info during initialization.
2014-11-06 01:21:37.046 TopShooteriOS[1558]: <Error> assertion failed: 12B411: libxpc.dylib + 51955 [04694BEB-256F-3132-A00F-0C82B79BC689]: 0x7d
2014-11-06 01:21:37.700 TopShooteriOS[1558]: <Warning> system library is /usr/lib/libSystem.dylib.
2014-11-06 01:21:37.704 TopShooteriOS[1558]: <Warning> Phone Model is iPod5,1.
2014-11-06 01:21:37.770 TopShooteriOS[1558]: <Error> Could not successfully update network info during initialization.
2014-11-06 01:21:37.869 TopShooteriOS[1558]: <Warning> Attempting to badge the application icon but haven't received permission from the user to badge the application

3   TopShooteriOS                   0x0111da22 mono_handle_native_sigsegv (mini-exceptions.c:2360)
4   TopShooteriOS                   0x01122c46 sigabrt_signal_handler (mini-posix.c:206)
5   libsystem_platform.dylib        0x374b90a0 0x374b5000 + 16544
6   libsystem_pthread.dylib         0x374bed0e 0x374bb000 + 15630
7   libsystem_c.dylib               0x373de934 0x37395000 + 301364
8   TopShooteriOS                   0x011d03c8 monotouch_unhandled_exception_handler (monotouch-glue.m:1665)
9   TopShooteriOS                   0x0111de08 mono_invoke_unhandled_exception_hook (mini-exceptions.c:2703)
10  TopShooteriOS                   0x0112a61e mono_thread_abort_dummy (mini.c:2826)
11  TopShooteriOS                   0x0111d5c6 mono_handle_exception_internal (mini-exceptions.c:1713)
12  TopShooteriOS                   0x0111c642 mono_handle_exception (mini-exceptions.c:1937)
13  TopShooteriOS                   0x011163e6 mono_arm_throw_exception (exceptions-arm.c:159)
14  TopShooteriOS                   0x002fe91c rethrow_exception + 64
15  TopShooteriOS                   0x001e167c mscorlib__System_Lazy_1_get_Value + 48
16  TopShooteriOS                   0x00972e24 Parse_iOS__Parse_PlatformHooks_get_ApplicationSettings + 16
17  TopShooteriOS                   0x00966120 Parse_iOS__Parse_ParseClient_get_ApplicationSettings + 68
18  TopShooteriOS                   0x00b7e148 Parse_ParseClient_get_InstallationId + 248
19  TopShooteriOS                   0x00b7df50 Parse_ParseClient_Initialize_string_string + 340
20  TopShooteriOS                   0x000dc4c8 TopShooteriOS__TopShooteriOS_Program_FinishedLaunching_MonoTouch_UIKit_UIApplication + 324
21  TopShooteriOS                   0x002d6408 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr_0 + 196
22  TopShooteriOS                   0x01129dd8 mono_jit_runtime_invoke (mini.c:6727)
23  TopShooteriOS                   0x01171d46 mono_runtime_invoke (object.c:2831)
24  TopShooteriOS                   0x00fcae2c native_to_managed_trampoline_1 (registrar.m:48)
25  TopShooteriOS                   0x00fccb10 -[AppDelegate applicationDidFinishLaunching:] (registrar.m:759)

0 个答案:

没有答案