ios

iOS platform-specific development with XcodeBuildMCP tools for simulator, device, UI automation, and debugging. Use when building iPhone apps, testing on simulator/device, or automating UI interaction

SKILL.md

GitHub
<objective> Covers iOS-specific development using XcodeBuildMCP automation tools: building and testing on the iOS Simulator, deploying to physical devices, scripted UI interactions (tap, swipe, screenshot, view-hierarchy snapshot), LLDB debugging, and integrating UIKit views inside SwiftUI.

Lists the concrete MCP tools available for each phase — simulator tools (build_sim, boot_sim, launch_app_sim, test_sim), device tools (build_device, install_app_device, list_devices), and UI automation primitives.

Best practices: build before every commit, iterate on the simulator first, always test on a real device before release, enable accessibility identifiers for UI automation, and validate against the oldest supported iOS version. </objective>

iOS Platform

iOS-specific development with XcodeBuildMCP automation tools.

Agent Workflow (MANDATORY)

Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - Analyze existing iOS patterns
  2. fuse-ai-pilot:research-expert - Verify latest iOS 27.2 docs via Context7/Exa
  3. mcp__XcodeBuildMCP__discover_projs - Find Xcode projects

After implementation, run fuse-ai-pilot:sniper for validation.


Overview

When to Use

  • Building iPhone applications
  • Testing on iOS Simulator
  • Deploying to physical devices
  • Automating UI interactions
  • Debugging app behavior
  • UIKit integration in SwiftUI

Why iOS Skill

Feature Benefit
XcodeBuildMCP Automated build and test
UI Automation Scripted user interactions
Simulator tools Fast iteration cycle
Device tools Real hardware testing

MCP Tools Available

Simulator Tools

  • build_sim - Build for simulator
  • boot_sim - Start simulator
  • launch_app_sim - Run app
  • test_sim - Execute tests

Device Tools

  • build_device - Build for device
  • install_app_device - Deploy to device
  • list_devices - Show connected devices

UI Automation

  • tap, swipe - Touch interactions
  • screenshot - Capture screen
  • snapshot_ui - Get view hierarchy

Reference Guide

Need Reference
Simulator build/test simulator-tools.md
Device deployment device-tools.md
Touch automation ui-automation.md
LLDB debugging debugging.md
UIKit in SwiftUI (native Map / WebView first) uikit-integration.md
UIKit 26-27: automatic Observable tracking, iPhone Duo hinge and vertical bars, state restoration, TextKit tables, menu images uikit-26-27.md
Passkeys, MapKit, CloudKit, TipKit, notifications, background tasks, HealthKit, CarPlay, Chart3D apple-frameworks
Toolbars, search as a tab, tab bar minimize, scroll edge effects, menu icons toolbars-navigation.md

Liquid Glass on iOS

API table and rules live in liquid-glass.md; do not duplicate them here. iOS specifics (HIG, read 2026-11-13):

  • The tab bar floats above content at the bottom (HIG tab-bars, 2026-06-08); with an accessory (MiniPlayer) it can minimize on scroll (tabBarMinimizeBehavior(_:), tabViewBottomAccessory(content:), iOS 26.0). A dedicated search tab (Tab(role: .search)) can sit at the trailing end; alternatives are search in a bottom or top toolbar (HIG search-fields).
  • Toolbars (HIG toolbars, 2025-12-16): space is limited, so put essential actions first and the rest in a More menu; group items with ToolbarSpacer; do not paint custom bar backgrounds.
  • Scroll edge effects under bars (HIG scroll-views, 2026-06-08): keep .automatic; .soft needs legibility testing. Standard bars, sheets and menus take glass from the system (HIG materials).
  • Live Activities: limited-width compact/minimal layouts (landscape, iPhone Duo, many activities) - hig-system-surfaces.md.

Best Practices

  1. Build validation - Always build before commit
  2. Simulator first - Faster iteration
  3. Device testing - Required before release
  4. Accessibility IDs - Enable UI automation
  5. Screenshots - Document UI states
  6. Test on oldest supported - iOS version compatibility (minimum deployment target, independent of the 27.2 SDK you build with)
  7. 27 SDK launch rules - UIKit apps must use the scene-based life cycle or they fail to launch; Info.plist needs a launch screen key; On Demand Resources is deprecated (Background Assets). Details: swift-core/references/sdk-27-changes.md