美文网首页
app提交appstore 出现二进制文件无效

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

作者: GitArtOS | 来源:发表于2020-06-18 13:53 被阅读0次

苹果邮件:

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,权限配置;

相关文章

网友评论

      本文标题:app提交appstore 出现二进制文件无效

      本文链接:https://www.haomeiwen.com/subject/rtluxktx.html