问题描述
我在将应用上传到 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 也不会接受我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)