We identified one or more issues with a recent delivery for your app, XXXXXX. Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more
5月开始,苹果已经严格🚫使用UIWebView,只要是新账号&新包会出现以上邮件信息,开发者该如何检测第三方SDK中是否含有UIWebView呢?希望可以帮助最近要上架的小伙伴~~~
find . -type f | grep -e ".a" -e ".framework" | xargs grep -s UIWebView
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.m: UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectZero];
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.m: NSAssert(![webView isKindOfClass:NSClassFromString(@"UIWebView")], @"当前集成方式已禁用 UIWebView!❌");
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.m: if ([webView isKindOfClass:[UIWebView class]]) {//UIWebView
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.m: SALogDebug(@"showUpWebView: UIWebView");
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.m: SALogDebug(@"showUpWebView: not UIWebView or WKWebView");
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.h: * @param webView 当前 WebView,支持 UIWebView 和 WKWebView
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.h: * @param webView 当前 WebView,支持 UIWebView 和 WKWebView
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/VisualizedAutoTrack/SAVisualizedAutoTrackObjectSerializer.m: [NSStringFromClass(object.class) isEqualToString:@"UIWebView"] ||
./Pods/SensorsAnalyticsSDK/SensorsAnalyticsSDK/VisualizedAutoTrack/SAVisualizedAutoTrackObjectSerializer.m: [object isKindOfClass:UIWebView.class] ||