苹果邮件:
App Store ConnectDear Developer,
We identified one or more issues with a recent delivery for your app, "心事倾诉-1对1心理咨询与情感倾诉" 1.0.1 (100). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Though you are not required to fix the following issues, we wanted to make you aware of them:
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 NSLocationWhenInUseUsageDescription 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).
Best regards,
The App Store Team
邮件截图:
截屏2020-06-18 下午1.54.21.png1.解决方案
Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability
三步骤如下:
cd 到项目文件
- 输入命令行
grep -r UIWebView .
- 输入命令行
apple@AppledeMac-mini Qingsu % grep -r UIWebView . ./Pods/MJRefresh/[README.md](http://readme.md/): * [UIWebView01-The drop-down refresh](#UIWebView01-The_drop-down_refresh) ./Pods/MJRefresh/[README.md](http://readme.md/):* `UIScrollView`、`UITableView`、`UICollectionView`、`UIWebView` ./Pods/MJRefresh/[README.md](http://readme.md/):## <a id="UIWebView01-The_drop-down_refresh"></a>UIWebView01-The drop-down refresh ./Pods/Headers/Public/TTTAttributedLabel/TTTAttributedLabel.h: to emulate the link detection behaviour of UIWebView. ./Pods/Headers/Private/TTTAttributedLabel/TTTAttributedLabel.h: to emulate the link detection behaviour of UIWebView. Binary file ./Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/UMSocialCore matches Binary file ./Pods/UMengUShare/UShareSDK/SocialLibraries/WeChat/libSocialWeChat.a matches ./Pods/TTTAttributedLabel/TTTAttributedLabel/TTTAttributedLabel.h: to emulate the link detection behaviour of UIWebView. apple@AppledeMac-mini Qingsu %
- 针对以上文件,要么升级SDK,要么去掉第三方的
UIWebView
- 针对以上文件,要么升级SDK,要么去掉第三方的
2.解决方案
Info.plist
添加相应的key,权限配置;
网友评论