Instruments freeze when WKWebView is created

Instruments freeze when WKWebView is created

I create a very simple mac os application

If I create a WKWebView like this "

  • (void)viewDidLoad { [super viewDidLoad];

    // Do any additional setup after loading the view.

    self.webview = [[WKWebView alloc] initWithFrame:NSMakeRect(0, 0, 500, 500)];

} " Then the instruments freeze when I record allocations Why? If I remove the creation of WKWebView, everything works fine

I'm using Xcode 14.2

Replies

Hi! I tested this out locally with Xcode 15 and was unable to reproduce the issue. If you’re still able to reproduce with the latest version of Instruments, please file a report in Feedback Assistant and attach a sample project that causes Instruments to hang, along with a sysdiagnose started while Instruments is hanging. The sysdiagnose will include information that will help us identify the issue even if we can’t reproduce the issue on our side.
-Jed