ios-simulator-browser

Mirror iOS Simulator content in Cursor's embedded browser with hot reload.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/harshav167/build-ios-apps --skill ios-simulator-browser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-simulator-browser
Source: https://github.com/harshav167/build-ios-apps/tree/main/skills/ios-simulator-browser
Command: npx skills add https://github.com/harshav167/build-ios-apps --skill ios-simulator-browser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Mirror iOS Simulator content in Cursor's embedded browser and render SwiftUI previews from importable Swift packages with hot reload, enabling browser-based iteration without leaving Cursor.

Core Features & Use Cases

  • Mirror a headless iOS Simulator into Cursor's embedded browser for live viewing.
  • Render SwiftUI previews from Swift Packages with automatic hot-reload as code changes.
  • Manage an isolated Preview Host lifecycle using xcodebuild, serve-sim, and a disposable app bundle.

Quick Start

Boot a simulator, run the swiftui-preview-browser launcher against Package.swift and a target, then view the generated preview URL in the embedded browser.

Frequently Asked Questions about ios-simulator-browser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I mirror an iOS Simulator in Cursor for live SwiftUI previews?

Hot reload for SwiftUI packages works by watching the package for code changes and automatically rebuilding the temporary host app. It then refreshes the browser preview served from the iOS Simulator to reflect updates instantly.

What's the best way to view SwiftUI package previews without leaving Cursor?

The best way to view SwiftUI package previews without leaving Cursor is to use a launcher against your Package.swift and target. This coordinates building and serving the preview to the embedded browser for continuous iteration.

Do I need Xcode tooling and Swift Package Manager to serve iOS Simulator previews?

If your iOS Simulator preview is not working, check the safeguards for deployment targets and simulator state. The system requires a booted simulator and may fail if the temporary host app bundle encounters build errors or deployment target mismatches.

Can I use xcodebuild to manage a disposable app bundle for SwiftUI hot reload?

Yes, you can use xcodebuild to manage an isolated Preview Host lifecycle with a disposable app bundle. This builds the temporary host app required to launch your SwiftUI package in the target simulator and serve hot-reload updates.