昨天,我将我的应用程序上传到 TestFlight,过了一会儿 Apple 向我发送了此警告:
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.
问题是我在我的应用程序中没有使用 UIWebView,所以我尝试更新我的 pod,但仍然是同样的事情。顺便说一句,这是我在 TestFlight 上的第三个版本,这是苹果第一次向我发送此信息。有什么想法吗?
更新
这些是我的 Pod:
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/MLVision'
pod 'Firebase/MLVisionTextModel'
pod 'SVProgressHUD'
pod 'SPPermission/Camera'
pod 'SPPermission/PhotoLibrary'
pod 'Mantis'
pod 'SwiftKeychainWrapper'
pod 'SwiftyOnboard'
pod 'Fabric'
pod 'Crashlytics'
更新2
似乎我找到了存在问题的框架。
Binary file ./Pods/FirebaseMLCommon/Frameworks/FirebaseMLCommon.framework/FirebaseMLCommon matches
Binary file ./Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics matches
Binary file ./Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision matches
那么现在我必须等待 Google 修复这些问题并更新我的 pod 吗?
最佳答案
检查您的代码中是否使用了 UIWebView 类;如果是,请将您的实现替换为 WKWebView,否则需要检查您的 Pod。
使用终端进入项目文件夹并执行命令:
grep -r "UIWebView".
所有匹配的 Pod 都必须更新。 现在我陷入了困境,因为我发现 UIWebView 进入了 Google AdMob(版本 7.49.0),并且我正在等待 Google 的新版本。
关于ios - ITMS-90809 : Deprecated API Usage -- Apple will stop accepting submissions of apps that use UIWebView APIs,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57763905/