程序运行出现:objc[2213]: Class _NSZombie_BSXPCMessage is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
1、增加[locationManager requestAlwaysAuthorization]或者[locationManager requestWhenInUseAuthorization]在 [locationManager startUpdatingLocation]之前。
2、打开 Info.plist, 添加 NSLocationWhenInUseUsageDescription 或者 NSLocationAlwaysUsageDescription字段信息
本文针对程序中出现的objc僵尸类错误,提供了两种解决方案:一是在使用位置更新前请求权限;二是确保Info.plist文件中包含必要的位置使用描述。
1万+

被折叠的 条评论
为什么被折叠?



