Search code examples
wkwebview

Debug wkwebview on existing production app on iOS


How to debug/inspect existing production app's wkwebview on a production app?

I've tried to use safari debugger but couldn't connect.


Solution

  • Sorry, you cannot do this. Only apps with the entitlement com.apple.security.get-task-allow can be connected to, and apps with this entitlement can't be distributed through the app store.

    See https://developer.apple.com/forums/thread/118415