最近更新應用,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隨便寫內容被拒的,所以很擔心寫了被拒,但是還是寫了哥原因沒有被拒絕,通過了,所以這條路也是走的通的,如果確實想去掉相應權限,可以考慮一個一個過過你的三方庫,看那個需要更新。
