近期運(yùn)氣不佳,接連被App Store Review團(tuán)隊給拒了兩次。記錄一下其中的問題,以避免后期開發(fā)中犯同樣的錯誤。
App Store Connect郵件:
Dear Developer,
We identified one or more issues with a recent delivery for your app, "一齡" 5.4.5 (5.3.1). Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.
Best regards,
The App Store Team。
說的是項目缺少NSLocationAlwaysUsageDescription和描述信息,添加上即可。
<key>NSLocationAlwaysUsageDescription</key>
<string>需要訪問您的位置,以便APP始終獲取您的位置信息</string>