问题一:
Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.(意思是:你使用了时时定位(后台定位模式),但是在info.plist中没有特征描述关于你使用了持久定位功能,app是一定要有这个特征说明的)
问题二:
To resolve this issue, please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.(去解决这个问题,请修改这个当你的app在后台的时候需要使用不停使用时时定位这个功能的特征描述。
If your app does not require persistent real-time location updates, please remove the "location" setting from the UIBackgroundModes key. You may wish to use the significant-change location service or the region monitoring location service if persistent real-time location updates are not required for your app features.(意思:叫你删掉这个功能)
如果你一定要用的话:当你开启进入后台时还一直开启定位将会造成电池损害,如果你一定开启始终定位,你可以通过和录视频告诉苹果测试人员为什么要app进入后台定位。或者请添加以下应用程序中使用的免责声明描述电池:“GPS在后台持续运行,可以大大降低电池的寿命。”
这个添加免责申明,应该可以,具体怎么加info.plist中肯定要说明。。 我是直接删除这个功能的,如果想尝试请打开链接
参考大神链接:https://www.jianshu.com/p/e357dadd92e3