fix(plugin): walk-app — document iOS simctl-relaunch to reach a local Rails#107
Merged
Conversation
… Rails Hardens the one rough edge the iOS end-to-end walk exposed: mobile-mcp's plain `mobile_launch_app` points the iOS DEBUG build at its nonexistent compiled default (`https://api.<product>.com`), so screens render but every network call fails. To reach a local Rails the app must be relaunched via `xcrun simctl launch` with the `SIMCTL_CHILD_<PRODUCT>_API_{SCHEME,DOMAIN,PORT}` passthrough (the same env-bridge the generator's visual mode uses). - §2: live-data prereq now spells out "Rails up" AND "app pointed at it", with the Android (host baked at build time) vs iOS (host from launch env) difference. - §3: exact simctl terminate+launch recipe with the env vars and where the values come from (out/<slug>/rails/.env). - §6: the blank-data-screen failure mode now points iOS users at the §3 relaunch. Discovered driving barbershop-queue iOS sign-in → barbershops → reservation queue → swipe-complete (persisted state=completed) on 2026-05-24. 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.
Hardens the one rough edge the iOS end-to-end walk exposed during testing.
The gap
mobile-mcp's plain
mobile_launch_apppoints the iOS DEBUG build at its nonexistent compiled default host (https://api.<product>.com). Result: screens render, but every network call (sign-in, lists, mutations) silently fails. Thewalk-appskill didn't document how to fix it, so a full signed-in walk required ad-hoc discovery.Android isn't affected — the APK bakes the API host in at build time (
<PRODUCT>_API_*gradle properties), so a normal launch reaches a local Rails.The fix (skill guidance only — no code)
Relaunch the iOS app via simctl with the
SIMCTL_CHILD_passthrough (the same env-bridgesrc/env-bridge.tsuses in the generator's visual mode):Documented in
walk-app's SKILL.md:Provenance
Discovered driving barbershop-queue on iOS end-to-end: sign-in (
barber1@example.com) → barbershops list → reservation queue → swipe-to-Complete, round-tripped to the DB (state=completed). Rename held throughout (Shop→Barbershop, Shopkeeper→Barber, ItemTag→Reservation, Idled↔Completed → WAITING↔COMPLETED).Test plan
claude plugin validate ./plugin✔ (docs-only change to a SKILL.md body).🤖 Generated with Claude Code