ios - AFNetworking AFNetworkReachabilityCallback Error ( Ipad IOS6.3) -
my app working in (ipad 6.1 simulator,ipad 6.0 simulator , ipad 5.1 simulator). after installed in ipad, it's not work more.
i use organizer-dervices debug error, , error messages:
console: jul 31 21:55:27 sandy reportcrash[937] : formulating crash report process benefitpad[781] jul 31 21:55:27 sandy reportcrash[937] : libmobilegestalt copysystemversiondictionaryvalue: not lookup releasetype system version dictionary
dervice logs: incident identifier: f6306353-bef8-4626-8fa1-17f8c829aee4 crashreporter key: 1a786173c1c72ae5d44172b3d641feee8e91a4af hardware model: ipad3,3 process: benefitpad [778] path: /var/mobile/applications/d733430c-510d-4d2a-9d88-6361a6074485/benefitpad.app/benefitpad identifier: benefitpad version: ??? (???) code type: arm (native) parent process: launchd [1] date/time: 2013-07-31 19:46:51.989 +0800 os version: ios 6.1.3 (10b329) report version: 104 exception type: exc_bad_access (sigsegv) exception codes: kern_invalid_address @ 0x75417466 crashed thread: 0 thread 0 name: dispatch queue: com.apple.main-thread thread 0 crashed: 0 libobjc.a.dylib 0x3935c52c objc_retain + 12 1 benefitpad 0x001571fe 0xe8000 + 455166 2 corefoundation 0x3140c034 _cfxnotificationpost + 1424 3 foundation 0x31d22594 -[nsnotificationcenter postnotificationname:object:userinfo:] + 68 4 foundation 0x31d26056 -[nsnotificationcenter postnotificationname:object:] + 26 5 benefitpad 0x0010cc12 0xe8000 + 150546 6 benefitpad 0x000fe2da 0xe8000 + 90842 7 benefitpad 0x00134cd8 0xe8000 + 314584 8 benefitpad 0x00135d02 0xe8000 + 318722 9 libdispatch.dylib 0x3977711c _dispatch_call_block_and_release + 8 10 libdispatch.dylib 0x397764b4 _dispatch_client_callout + 20 11 libdispatch.dylib 0x3977b1b8 _dispatch_main_queue_callback_4cf$variant$mp + 220 12 corefoundation 0x3148ef36 __cfrunlooprun + 1286 13 corefoundation 0x31401eb8 cfrunlooprunspecific + 352 14 corefoundation 0x31401d44 cfrunloopruninmode + 100 15 graphicsservices 0x34fb62e6 gseventrunmodal + 70 16 uikit 0x333172fc uiapplicationmain + 1116 17 benefitpad 0x000fd92c 0xe8000 + 88364 18 benefitpad 0x000e9aec 0xe8000 + 6892 thread 1 name: dispatch queue: com.apple.libdispatch-manager thread 1: 0 libsystem_kernel.dylib 0x3984d648 kevent64 + 24 1 libdispatch.dylib 0x3977d974 _dispatch_mgr_invoke + 792 2 libdispatch.dylib 0x3977d654 _dispatch_mgr_thread$variant$mp + 32 thread 2 name: webthread thread 2: 0 libsystem_kernel.dylib 0x3984ceb4 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3984d048 mach_msg + 36 2 corefoundation 0x31490040 __cfrunloopservicemachport + 124 3 corefoundation 0x3148ed9e __cfrunlooprun + 878 4 corefoundation 0x31401eb8 cfrunlooprunspecific + 352 5 corefoundation 0x31401d44 cfrunloopruninmode + 100 6 webcore 0x373f1500 _zl12runwebthreadpv + 440 7 libsystem_c.dylib 0x397b630e _pthread_start + 306 8 libsystem_c.dylib 0x397b61d4 thread_start + 4 thread 3: 0 libsystem_kernel.dylib 0x3985dd98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x397abcf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x397aba12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x397ab8a0 start_wqthread + 4 thread 4: 0 libsystem_kernel.dylib 0x3985dd98 __workq_kernreturn + 8 1 libsystem_c.dylib 0x397abcf6 _pthread_workq_return + 14 2 libsystem_c.dylib 0x397aba12 _pthread_wqthread + 362 3 libsystem_c.dylib 0x397ab8a0 start_wqthread + 4
and error occurred in method(file: afhttpclient.m line:309):
static void afnetworkreachabilitycallback(scnetworkreachabilityref __unused target, scnetworkreachabilityflags flags, void *info) { afnetworkreachabilitystatus status = afnetworkreachabilitystatusforflags(flags); afnetworkreachabilitystatusblock block = (__bridge afnetworkreachabilitystatusblock)info; if (block) { block(status); } dispatch_async(dispatch_get_main_queue(), ^{ nsnotificationcenter *notificationcenter = [nsnotificationcenter defaultcenter]; [notificationcenter postnotificationname:afnetworkingreachabilitydidchangenotification object:nil userinfo:[nsdictionary dictionarywithobject:[nsnumber numberwithinteger:status] forkey:afnetworkingreachabilitynotificationstatusitem]]; }); }
thanks help.
i have fixed this.
the reason property of 'nsdecimalnumber', after change propery 'nsdecimalnumber' 'nsstring', it's work well.
this issue nothing 'afnetworking'.
Comments
Post a Comment