app提交appstore 出现二进制文件无效

苹果邮件:

App Store Connect

Dear 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.png

1.解决方案Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability 三步骤如下:

    1. cd 到项目文件
    1. 输入命令行 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 %

    1. 针对以上文件,要么升级SDK,要么去掉第三方的UIWebView

2.解决方案Info.plist添加相应的key,权限配置;

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。