Closed SolbyteApps closed 1 year ago
I have been investigating more deeply and the error from Ionic and not from cordova-ios. Ionic uses its own webkit so its necessary to apply the same code applied to 6.3.0 in the ionic file. Sorry for the inconvenience and close this issue.
@SolbyteApps what code are you referring to? Is there something I can do to make this work, if even temporarily? I'm having a problem with a production app and it would be a huge help if I could inspect it!
@saggio89 This has been fixed in cordova-ios 6.3.0 for the built-in Cordova webview.
If you are using the cordova-plugin-ionic-webview
plugin rather than the built-in webview, then support for the web inspector needs to be added by the Ionic team that maintains that plugin. You can report bugs on their plugin repo here: https://github.com/ionic-team/cordova-plugin-ionic-webview
Thank you for pointing me in the right direction @dpogue
If anyone else stumbles across this : There is already a PR with the fix on the cordova-plugin-ionic-webview repo https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/677
I was able to fork the master branch and apply the change and update the version of "cordova-plugin-ionic-webview" to my forked version in package.json
"cordova-plugin-ionic-webview": "github:< YourGithubUsername >/cordova-plugin-ionic-webview"
Working for me now
not working for me. I tried version of the PR's author "cordova-plugin-ionic-webview": "github:spoxies/cordova-plugin-ionic-webview#webkit-ios-16.4-enable-inspection"
not working for me. I tried version of the PR's author "cordova-plugin-ionic-webview": "github:spoxies/cordova-plugin-ionic-webview#webkit-ios-16.4-enable-inspection"
Asking the maintainer of the fork. Apache Cordova has no control over the webview settings when you're using a webview plugin.
Bug Report
Problem
Safari Web Inspector still doesn't show current iOS app launched in simulator or device.
What is expected to happen?
Be able to use Safari web inspector to debug the app running in iOS Simulator or device.
What does actually happen?
"No inspectable application" displayed instead of the running app in the Safari menu.
Information
This is supposed to have been fixed with cordova-ios@6.3.0 version with fix #1300 and issue #1301
Command or Code
From xcode, run app in simulator or device. From Safari, select the ‘Develop’ tab from the menu bar, then 'Simulator' or 'Device name'.
Environment, Platform, Device
Mac Mini M2, OS Ventura 13.4, iOS 16.4.1
Version information
Cordova Information:
Project Installed Platforms:
Project Installed Plugins:
Environment:
ios Environment:
Checklist