iOS 16.4 ASWebAuthenticationSession's webview can not debug in safari web inspector

I'm using Xcode 14.2 to build an app that runs on iOS 16.4. There is no webView.isInspectable property in this version. When my app presents a webview, it is inspectable in Safari -> develop, which is nice.

However, when starting a ASWebAuthenticationSession, Safari -> develop shows "no inspectable applications". It was inspectable on iOS 16.1 but not iOS 16.4.

How to solve this?

Accepted Reply

I filed a bug to Apple and they fixed this issue in iOS 17 beta 7 (Build: 21A5319a).
So update to the latest iOS 17, and the problem is resolved.

Replies

@frontenduniverse did you ever resolve this? I have the same issue

Got the same issue with 16.4 version. How to resolve this?

@frontenduniverse @cullima Hi. Did you resolve this issue?

confusing

I filed a bug to Apple and they fixed this issue in iOS 17 beta 7 (Build: 21A5319a).
So update to the latest iOS 17, and the problem is resolved.