docs(ios): add debugging guide and fix stale web/ios paths#31772
Merged
Conversation
Adds a Debugging section to apps/ios/README.md covering Safari Web Inspector (for the WKWebView contents — JS/CSS/network/console.log) and the Xcode debugger (for native Swift code), plus common recipes for plugin, streaming, and load-failure debugging. Also fixes three stale `web/ios/...` path references left over from the relocation to `apps/ios/` (#31302): - apps/ios/.gitignore — drop reference to deleted build-ios-slot.yaml - apps/web/src/runtime/native-auth.ts — update plugin file path - apps/web/src/runtime/native-biometric.ts — update plugin file path Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
apps/ios/README.mdcovering Safari Web Inspector (for the WKWebView — JS / CSS / network /console.log) and the Xcode debugger (for native Swift code), with common recipes for plugin, streaming, and load-failure debugging.web/ios/...path references left over from the relocation toapps/ios/(feat(ios): relocate Capacitor iOS shell as apps/ios peer (LUM-1544) #31302):apps/ios/.gitignore— drops reference to abuild-ios-slot.yamlworkflow that no longer exists; updatesweb/ios/README.md→apps/ios/README.md.apps/web/src/runtime/native-auth.ts— updates the plugin file path in the doc comment.apps/web/src/runtime/native-biometric.ts— updates the plugin file path in the doc comment.Why these specifics
console.logfrom the web side not showing up in the Xcode console — it goes to Safari Web Inspector only. The README now calls this out explicitly.WKWebView.isInspectable; Release / TestFlight builds are intentionally not inspectable. Linked to the upstream Capacitor docs.text/event-streamin Network), and a blank-green-screen WebView load failure (Xcode console for the navigation error).Test plan
apps/ios/README.mdand confirm the Safari steps match current macOS (Settings → Advanced → "Show features for web developers").grep -rn "web/ios" apps/ .github/returns no matches.🤖 Generated with Claude Code