Apple won#39;t accept my app even though I#39;m not using any UIWebView(即使我没有使用任何 UIWebView,Apple 也不会接受我的应用程序)
问题描述
我在将应用上传到 AppStore 时遇到问题.Apple 说我使用的是已弃用的 API,UIWebView.但是我检查了我的整个项目,没有 UIWebView.有没有人遇到过这个错误?谢谢.这是苹果的消息:
I'm having a problem uploading my app to the AppStore. Apple says that I am using a deprecated API, UIWebView. But I checked my whole project and there is no UIWebView. Has anyone encountered this error? Thanks. Here's apple's message:
ITMS-90809:不推荐使用的 API - Apple 将停止接受提交使用 UIWebView API 的应用程序.看https://developer.apple.com/documentation/uikit/uiwebview 了解更多信息.
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
纠正问题后,您可以将新的二进制文件上传到 App Store Connect.
After you’ve corrected the issues, you can upload a new binary to App Store Connect.
这是我的豆荚:
pod 'Alamofire', '<= 4.8.0'
pod 'AlamofireObjectMapper', '<= 5.2.0'
pod 'SDWebImage', '<= 4.4.3'
pod 'ReachabilitySwift', '<= 4.3.0'
pod 'RealmSwift'
pod 'ValidationComponents', '~> 0.3.0'
pod 'Willow', '<= 5.1.0'
pod 'CountryPickerView', '<= 2.2.0'
pod 'PhoneNumberKit', '~> 2.6'
pod 'IQKeyboardManagerSwift'
pod 'SwiftKeychainWrapper', '<= 3.0.1'
pod 'Toast-Swift', '<= 4.0.1'
pod 'MBProgressHUD', '~> 1.1.0'
pod 'Mixpanel-swift', '~> 2.6.2'
pod 'ServiceSDK/Chat', '<= 218.0.0'
pod 'OneSignal', '>= 2.6.2', '<= 2.9.5'
pod 'DeviceKit'
pod 'SwiftLint', '<= 0.30.1'
pod 'AppCenter', '~> 2.0.1'
推荐答案
WKWebView 是 UIWebView 的替代品.如果您的代码中没有 UIWebView 用法,那么通过执行以下终端命令,您可以轻松了解哪个库仍在使用 UIWebView 参考(不要错过.(点)).
WKWebView is the replacement for UIWebView. If you don't have UIWebView usage in your code than by executing the below terminal command you can easily get to know that which library is still using UIWebView reference (don't miss the . (dot)).
grep -r UIWebView /Path/To/Project/*
框架匹配的输出
./<ANY>.framework/Headers/ANY.h:#define ANYUseUIWebView ANY_NAME_PASTE(ANY_PREFIX_NAME, ANYUseUIWebView)
库匹配的输出
Binary file ./<FRAMEWORK-NAME>.framework/<LIB-FILE>.a matches
更新这些库
还可以查看这篇文章 https://medium.com/@zivchen_42755/for-me-that-wasnt-enough-it-didn-t-found-all-of-them-thats-weird-something-to-do-with-pod-i-a068d55b7fab
这篇关于即使我没有使用任何 UIWebView,Apple 也不会接受我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:即使我没有使用任何 UIWebView,Apple 也不会接受我的应用程序
基础教程推荐
- Play 商店的设备兼容性问题 2022-01-01
- 如何将图像从一项活动发送到另一项活动? 2022-01-01
- SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
- Android Volley - 如何动画图像加载? 2022-01-01
- 如何比较两个 NSDate:哪个是最近的? 2022-01-01
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
- navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
- 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
- UIImage 在开始时不适合 UIScrollView 2022-01-01
- iOS - UINavigationController 添加多个正确的项目? 2022-01-01
