简体   繁体   中英

Crash on slow connection in Map box iOS SDK

I am using Map box iOS SDK 3.0.1 in my App and facing issues on slow network. It crashed very often.

libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Failed to load [ https://a.tiles.mapbox.com/v4/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/0/0/0.vector.pbf?access_token=pk.xxxx] :

and Xcode crash log is :

libsystem_kernel.dylib`__pthread_kill:
    0x114edcff8 <+0>:  movl   $0x2000148, %eax
    0x114edcffd <+5>:  movq   %rcx, %r10
    0x114edd000 <+8>:  syscall 
->  0x114edd002 <+10>: jae    0x114edd00c               ; <+20>
    0x114edd004 <+12>: movq   %rax, %rdi
    0x114edd007 <+15>: jmp    0x114ed7bdd               ; cerror_nocancel
    0x114edd00c <+20>: retq   
    0x114edd00d <+21>: nop    
    0x114edd00e <+22>: nop    
    0x114edd00f <+23>: nop 

Anyone faced any such issue with map box SDK ? Let me know how it can be prevented to the error can be bought ?

尝试使用Mapbox iOS SDK v3.1.1-v3.1.x发行版对网络进行了重大改进。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM