即使我不使用任何UIWebView,Apple也不会接受我的应用程序 [英] Apple won't accept my app even though I'm not using any UIWebView

查看:84
本文介绍了即使我不使用任何UIWebView,Apple也不会接受我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将我的应用上传到AppStore时遇到问题.苹果公司说我正在使用不推荐使用的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'

推荐答案

WKWebViewUIWebView的替代者.如果您在代码中没有使用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他们所有这些与pod-i-a068d55b7fab一起做的奇怪的事情

这篇关于即使我不使用任何UIWebView,Apple也不会接受我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆