Apple Deprecated UIWebView: Build Failure on App Upload and Solutions
Apple no longer accepts new apps containing the UIWebView API, only WKWebView is allowed.
If you receive an email like the one below during app upload, it means your app build failed due to UIWebView references, and you must fix the issue before resubmitting.
Step 1: Replace UIWebView Globally
- Search the project for all occurrences of
UIWebView
. - Replace them with WKWebView.
In most cases, this will resolve the issue. After replacement, rebuild and resubmit the app.
If the error persists, it likely means a static library still contains UIWebView, which requires further investigation.
Step 2: Check Static Libraries for UIWebView
- Open Terminal and navigate to your project directory.
- Run the following command to check for any occurrences of UIWebView in static libraries or files:
1grep -r UIWebView .
This command will list any static libraries or files containing UIWebView references.
Example output:
Binary file ./Source/Common/Libs/PayService/UnionPaySDK/libPaymentControl.a matches
This means the UnionPaySDK
’s libPaymentControl.a
static library contains UIWebView.
Solution
- Visit the SDK provider’s documentation and download the latest version of the SDK.
- Replace the old static library with the updated one.
- Rebuild and re-upload the app. The build should now pass successfully.
- Configure Push Certificate
- Upload IPA :ERROR ITMS-90189
- Provisioning Profile and Certificate Mismatch
- Uploaded IPA Not Showing Build in iTunes Connect
- App Store Developer Name Change
- What to Do If Your Apple Account Is Disabled
- APP Filing Operation Tutorial
- Submitting a UniApp IPA to the App Store
- Apple Certificates Overview
- What is a Bundle ID
- File Viewing Feature
- How long to see app in build after uploading IPA
- Generate App-Specific Password
- Obtain Activation Code
- Batch Upload Screenshots
- Install and Test
- Submit and Upload
- Provisioning Profile Management
- Certificate Management
- Install and log in to AppUploader
- Start using AppUploader (Mac version)
- Upload Error No Suitable Application Records Found
- uniapp Hide H5 Page Header (page-head) Two Methods
- TestFlight Submission Error ITMS-90426
- Apple Developer Account Registration
- Can Multiple Apps Use the Same iOS Certificate
- iOS Upload Error ITMS-90161
- App Store Upload Error ITMS-90704 Icon Issue
- Upload Failed Bundle ID Mismatch
- How to Fill Apple App Privacy Policy Info
- iOS Image No Alpha Channel
- Start using AppUploader (Windows version)
- iOS Upload Error ITMS-90076
- iOS Upload Error ITMS-90101
- IPA Upload Network Error
- IPA Upload Platform
- iOS Dev Guide Create Apple Dev ID and Build Steps
- iOS Upload Error SDK Version Issue
- App Integrity Verification Failed Error
- iOS Dev Account (Individual, Company, Enterprise)
- uni-app中隐藏H5页面头部导航栏page-head的两种方式?
- 上传IPA反馈ERROR ITMS-90189版本号重复问题
- 上传IPA后需要多久才能在构建版本中看到应用?
- iOS开发者账号(个人、公司、企业)的区别
- 苹果app无法验证其完整性错误
- iOS 打包上传Appstore报错ERROR SDK version issue
- iOS开发指南:创建苹果开发者账号、新建首个APP ID和构建应用的步骤
- ipa 上传平台
- IPA上传报错网络错误
- iOS 打包上传Appstore报错ERROR ITMS-90101
- 上传Appstore报错 ITMS-90809
- 上传报错 No suitable application records were found
- iOS 打包上传Appstore报错ERROR ITMS-90076
- TestFlight提交时出现的ITMS-90426错误
- 苹果开发者账号注册
- 多个app可以使用同一个ios证书吗?
- iOS 打包上传Appstore报错ERROR ITMS-90161
- 上传Appstore报错 ITMS-90704图标错误的问题
- 提交上传失败,提示如下bundle ID不匹配问题
- 如何填写苹果应用上架过程中的隐私政策信息
- ios上架提示 “图像不能包含 alpha 通道或透明度”
- 开始使用appuploder(Mac版本)
- 安装和登录appuploader
- 证书管理
- 描述文件管理
- 提交上传
- 安装测试
- 批量上传截图
- 获取激活码
- 生成专用密码
- 配置推送证书
- 文件查看功能
- 什么是Bundle ID
- 苹果的各种证书说明
- uniapp打包的ipa上架
- APP备案操作教程
- 苹果账号被禁用怎么办?
- appstore开发者名称修改
- 上传了ipa但iTunes Connect没有构建版本问题
- 编译提示描述文件和证书不匹配
- 开始使用appuploder(Win版本)