日志是从Crashlytics粘贴的。许多用户经常发生崩溃,据我所知,它独立于设备/ iOS版本。我在代码中找不到任何错误,这似乎是纯库问题。是Google Maps API的错误吗?我该怎么做才能修复它,或者我应该在Google API页面上填写一些错误报告。?
崩溃日志:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000001
libGPUSupportMercury.dylib
gpus_ReturnNotPermittedKillClient + 9
libGPUSupportMercury.dylib
gldCreateContext
GLEngine
gliCreateContextWithShared
OpenGLES
-[EAGLContext initWithAPI:properties:] + 524
OpenGLES
-[EAGLContext initWithAPI:sharedWithCompute:] + 142
!MYAPP!
-[GMSIOSGLContext initWithAPI:]
!MYAPP!
gmscore::renderer::GMSIOSGLContextPool::GMSIOSGLContextPool()
!MYAPP!
___ZN7gmscore8renderer13GLContextPool16GetGLContextPoolEv_block_invoke
libdispatch.dylib
_dispatch_client_callout + 22
libdispatch.dylib
dispatch_once_f + 46
!MYAPP!
gmscore::renderer::GLContextPool::GetGLContextPool()
!MYAPP!
gmscore::renderer::GLScopedContextFromPool::GLScopedContextFromPool()
!MYAPP!
-[GMSVectorMapSharedResourceCache init]
!MYAPP!
__43-[GMSAsyncInitServices sharedInitWithSync:]_block_invoke
!MYAPP!
-[GMSAsyncInitServices sharedInitWithSync:]
!MYAPP!
-[GMSAsyncInitServices initSync]
!MYAPP!
+[GMSServices sharedServicesSync]
!MYAPP!
-[GMSGeocoder initWithConnection:]
!MYAPP!
+[GMSGeocoder geocoder]
!MYAPP!
AClass.m line 64
-[AClass doSomething:]
aClass doSomething更像是:
- (void)doSomething {
[[GMSGeocoder geocoder] reverseGeocodeCoordinate:CLLocationCoordinate2DMake(_latitude, _longitude)
completionHandler:^(GMSReverseGeocodeResponse* response, NSError* error) {
}
}