objc[2213]: Class _NSZombie_BSXPCMessage is implemented in both ?? and ??. One of the two will be us

来源:互联网 发布:网络链路 编辑:程序博客网 时间:2024/04/29 21:08

程序运行出现: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字段信息

0 0