ios – How one can use Safari Internet Inspector for “Designed for iPad” apps working on Apple Silicon (M1) macOS?


I’ve an iPad app that makes use of a WKWebView. After I run it from Xcode within the iOS Simulator or on an iOS gadget, I can see the webviews present up within the Develop menu in Safari.
Nonetheless, once I run that very same app with the “My Mac (Designed for iPad)” run vacation spot, I see “No Inspectable Functions” underneath “Johannes’ MacBook Professional” within the Safari Develop menu.

In keeping with session 420 from WWDC 2016 (https://archive.org/particulars/wwdc2016videos/420_hd_optimizing_web_content_in_your_app.mp4), it’s a necessity so as to add “com.apple.webinspector.permit” to the entitlement when attempting to examine a webview in a macOS app. I did that, however when I attempt to run the app on my Mac from Xcode, the construct fails saying “Provisioning profile “Springenwerk Growth” does not embody the com.apple.webinspector.permit entitlement.” So it looks like the com.apple.webinspector.permit entitlement solely works for “pure” macOS apps, not for iPad apps that may additionally run on M1 Macs.

So my query is: How can I exploit the Safari Internet Inspector to examine net views in a “Designed for iPad” app working on my M1 Mac when working it from Xcode?