首页 > 技术文章 > iOS 14 local network原因被拒说明

qizhuo 2020-10-20 14:46 原文

最近更新应用,iOS14后被拒绝了,被拒拒原因如下;

Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage  

We noticed that your app requests the user’s consent to access the local network information but does not clarify the use of the local network information in the applicable purpose string.  

To help users understand why your app is requesting access to their personal data, all permission request alerts in your app should specify how your app will use the requested feature.  

Next Steps  

Please revise the relevant purpose string in your app’s Info.plist file to specify why the app is requesting access to the local network information.  

You can modify your app's Info.plist file using the property list editor in Xcode.  

目前查看了项目因为项目中用到了高德地图激光魔链SDK导致的,当然你可能用到的其他SDK中用到了,目前大部分新版本SDK都移除了相关代码,已经不需要相应权限,更新SDK就可以了。如果确实需要就在plist中增加NSLocalNetworkUsageDescription 及相应的用途说明。

 当初查的是说关于NSLocalNetworkUsageDescription随便写内容被拒的,所以很担心写了被拒,但是还是写了哥原因没有被拒绝,通过了,所以这条路也是走的通的,如果确实想去掉相应权限,可以考虑一个一个过过你的三方库,看那个需要更新。

 

推荐阅读