iOS上线被拒

2017年3月1日 下午2:12
发件人 Apple

  1. 5 PERFORMANCE: SOFTWARE REQUIREMENTS
    Performance - 2.5.4

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.

Next Steps

Please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.

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.

Resources

For more information, please review the Starting the Significant-Change Location Service and Monitoring Geographical Regions.

Request a phone call from App Review

At your request, we can arrange for an Apple Representative to call you within the next three business days to discuss your App Review issue.

To request a call and ensure we have accurate contact information, reply directly to this message with a contact name and direct phone number to reach you.

以上是apple发过来的错误信息,说我们的应用在后台使用了持续位置更新,但是app中并没有使用,所以我们去掉了plist的相应设置
NSLocationAlwaysUsageDescription = 将根据您的地理位置信息,提供精准服务

后来发现这还是不管用,所以我们继续寻找,后来发现真想给自己一个嘴巴,人家明明写着UIBackgroundModes的问题,哎,都怪自己太疏忽,没有好好看apple的错误反馈,最终这个问题的解决办法就是,你的app没有在后台是用位置更新服务,那就需要把Location Updates关掉。如下图:

iOS上线被拒_第1张图片

好了改了这个之后检查没有问题就重新打包上了就可以了!

你可能感兴趣的:(iOS上线被拒)