App Store审核ipa包长期处于“正在处理”

前天发布了一个新的版本,等了一个小时发现,新上传的包一直处于“正在处理”,正在纳闷的时候,收到了苹果的邮件,报了以下3个问题:

ITMS-90381: Too many symbol files - These symbols have no corresponding slice in any binary [F4F2FF0A-CEE4-3F2C-89F7-608DC7C7E264.symbols, 4CE1490C-9A3C-383D-AE82-D04A7CA28B80.symbols].

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).

ITMS-90809: Deprecated API Usage - App updates that use UIWebView will no longer be accepted as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

After you’ve corrected the issues, you can upload a new binary to App Store Connect.


第一个问题ITMS-90381: Too many symbol files按照如下方法解决

在Xcode中点击项目 -> window -> organizer -> 选中对应的打好的包 -> show in finder -> 右键显示包内容 -> 选中dSYMs -> 打开终端 -> cd到dSYMs文件 -> 在终端中输入:dwarfdump --uuid * -> 点击回车键即可看到对应UUID,对照上面apple发的邮件中,有哪些文件是多余的,找到后,可在Build Active Architecure Only 的Valid Architectures 中去掉对应的打包时对应的处理器。

第二个问题ITMS-90683: Missing Purpose String in Info.plist按照如下方法解决

info.plist中加入NSLocationAlwaysUsageDescription配置,后面文字的描述文字,可以咨询公司的产品填写相应的文字

第三个问题ITMS-90809: Deprecated API Usage按照如下方法解决

2020年12月以后,UIWebView相关API过期了,苹果要求用WKWebView替代,不过现在不改也可以正常提交ipa包。在后续的工作中逐步替换即可。


解决前面两个问题后再重新archive打包上传,大概10分钟后ipa包就可以作为构建版本去审核了。

你可能感兴趣的:(App Store审核ipa包长期处于“正在处理”)