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

程序运行出现: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[2213]: Class _NSZombie_BSXPCMessage is implemented in both ?? and ??. One of the two will be us)