name: letsgrow-ios-run-simulator description: Run the LetsGrow iOS app on the iPhone 17 Pro, iOS 26.4 simulator using Xcode command-line tooling. Use when the user asks to launch, run, or verify the iOS app on that exact simulator.
LetsGrow iOS Simulator Run
Run the iOS app on the exact simulator target:
- Project:
Feedback.xcodeproj - Scheme:
Feedback Localhost - Device:
iPhone 17 Pro - OS:
iOS 26.4
Hard Rule
Use Xcode command-line tooling:
xcrun simctlfor simulator discovery, booting, install, and launch.xcodebuildfor project build and build-settings inspection.open -a Simulatoronly when needed to make the booted simulator visible.
Do not use MCP/XcodeBuildMCP as the primary path for this skill. Do not use AppleScript or manual Xcode steps.
Required CLI Capabilities
Before building, confirm the local Xcode CLI can do all of:
- Find an exact simulator whose name is
iPhone 17 Proand runtime isiOS 26.4. - Build the
Feedback Localhostscheme fromFeedback.xcodeprojfor that simulator. - Locate the built
.app, install it on the simulator, and launch it by bundle identifier.
If any of these are unavailable, stop and report the exact missing or failing step.
Workflow
List simulators with
xcrun simctl list devices available --json.Select the exact device where
name == "iPhone 17 Pro"and the runtime key representsiOS 26.4.If the simulator is not booted, run
xcrun simctl boot <udid>. If needed, runopen -a Simulator.Build with:
xcodebuild \ -project Feedback.xcodeproj \ -scheme "Feedback Localhost" \ -destination "platform=iOS Simulator,id=<udid>" \ -configuration Debug \ buildResolve build output with:
xcodebuild \ -project Feedback.xcodeproj \ -scheme "Feedback Localhost" \ -destination "platform=iOS Simulator,id=<udid>" \ -configuration Debug \ -showBuildSettingsUse
BUILT_PRODUCTS_DIR,WRAPPER_NAME, andPRODUCT_BUNDLE_IDENTIFIERfrom the app target's build settings. The app path is<BUILT_PRODUCTS_DIR>/<WRAPPER_NAME>.Install and launch:
xcrun simctl install <udid> "<app-path>" xcrun simctl launch <udid> <bundle-id>If Maestro MCP device list/screenshot capability is available after launch, use it only for optional verification.
Parsing Notes
- Prefer structured JSON parsing for
simctloutput when possible. - For
xcodebuild -showBuildSettings, read the app target values. If several targets appear, choose the target whoseWRAPPER_NAMEends in.app. - Use the exact simulator UDID in all
xcodebuildandsimctlcommands. - Keep command output concise in the final response; summarize only the selected simulator, build result, install result, and launch result.
Reporting
On success, report:
- The CLI path used.
- The simulator target.
- Whether the app launched successfully.
On failure, report the precise missing or failing CLI step, such as:
No iPhone 17 Pro, iOS 26.4 simulator was found by simctl.xcodebuild failed: <short error summary>.The built .app path could not be resolved from build settings.simctl install failed: <short error summary>.simctl launch failed: <short error summary>.