Error: `value of type 'WKWebView' has no member 'isInspectable'`

This post is intended to help anyone who receives the following error message when building their Capacitor 6 app in XCode: value of type 'WKWebView' has no member 'isInspectable'

The reason for this error message is that an outdated XCode version is being used. Make sure that you update to XCode 15.

If you get the error in GitHub Actions, make sure you are using macos-14. You can find more information here: The iOS Troubleshooting Guide for Capacitor - Capawesome

5 Likes