I tried to upload the app to the App Store, but there was a problem. I received an email telling me not to use UIWebView
and was rejected.
App Store Connect Dear Developer,
We identified one or more issues with a recent delivery for your app, "gamemain" 1.0.0 (1). Your delivery was successful, but you may wish to correct the following issues in your next delivery:
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.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.
Best regards,
The App Store Team
But I don't use UIWebView
and I only use WKWebView
. So I did a full search to see if the library is using it. But nothing was searched. What's the problem?
Search results for shift + command + F
Web View Usage Classes
import Foundation
import UIKit
import WebKit
import Toaster
import StoreKit
import MobileCoreServices
import Alamofire
class kWebViewController: UIViewController, WKUIDelegate, WKScriptMessageHandler, UIImagePickerControllerDelegate, UINavigationControllerDelegate, NASWallDelegate, SKProductsRequestDelegate {
@IBOutlet weak var indicator: UIImageView!
@IBOutlet var kWebView: WKWebView!
podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
target 'gamemain' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for DeleteMe
pod 'SwiftSVG', '~> 2.0'
pod 'Toaster'
pod 'BigInt', '~> 4.0'
pod 'CryptoSwift'
pod 'RealmSwift'
pod 'web3.swift.pod', '~> 2.2.0'
pod 'Firebase'
pod 'Firebase/Messaging'
pod 'Firebase/Auth'
pod 'Firebase/Core'
pod 'Alamofire', '~> 4.8.2'
end
I'm sure you'll solve this problem.
pod update
once and then try to upload. maybe framework updated. - iNiravKotecha