Thanks for showing more context. But you have not shown that you are using such many pods. As you may know, many pods are well-known as to cause problems at each time iOS or Xcode updates.
I have tried with the exact code and URL you have shown, which causes no issues both on iOS 15 simulator or on an actual device of iOS 15.0.1.
class ViewController: UIViewController {
@IBOutlet weak var webView: WKWebView!
let stringUrl = "https://developer.apple.com/"
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
if let url = URL(string: stringUrl) {
webView.load(URLRequest(url: url))
}
}
}
So, it is very likely that some still hidden parts of your code or any of your pods are causing the issue.
Are you sure you are using WKWebView in a usual manner?
For example, calling load(_:) while the webView is not visible may be considered to be an illegal usage by the recent iOS.