BaiduLBS / BaiduMapKit

百度地图 iOS SDK(官方)
MIT License
115 stars 51 forks source link

SDK conflicts caused a crash #61

Open dota2AndTI opened 3 years ago

dota2AndTI commented 3 years ago

In podFile pod 'BaiduMapKit','6.3.1' pod 'Google-Mobile-Ads-SDK','8.8.0'

map = [[BMKMapView alloc] initWithFrame:self.view.bounds]; crash: malloc: error for object 0xfffffffc00000004: pointer being freed was not allocated malloc: set a breakpoint in malloc_error_break to debug

dota2AndTI commented 3 years ago

为啥我在项目中同时倒入 BaiduMapKit 和 Google-Mobile-Ads-SDK 会导致 执行 这句 [[BMKMapView alloc] initWithFrame:self.view.bounds]; 是崩溃 malloc: error for object 0xfffffffc00000004: pointer being freed was not allocated malloc: set a breakpoint in malloc_error_break to debug 这个崩溃错误