ios-simulator

Automate iOS Simulator device lifecycle and testing with xcrun simctl.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to automate and script iOS Simulator workflows using xcrun simctl, removing manual setup and enabling repeatable testing across CI and local environments.

Core Features & Use Cases

  • Device lifecycle management: create, boot, shutdown, erase, delete
  • App install and launch, deep link testing via openurl
  • Push notification and location simulation, privacy permission control
  • Screenshot and video capture, log streaming with os_log filtering
  • Inspector utilities: get_app_container paths, compile-time simulator checks
  • References and offline docs usage for simctl commands
  • Use cases span CI pipelines, reproducible test scenarios, and debugging sessions

Quick Start

Install the skill and run the ios-simulator workflow to boot a device, install an app, and begin scripted simulator tests.

Frequently Asked Questions about ios-simulator

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

FAQPage Schema
How do I automate iOS Simulator workflows from the command line?

You can automate iOS Simulator workflows using xcrun simctl commands to manage device lifecycles, install apps, and run scripted tests across CI and local environments.

Can I simulate push notifications and location on an iOS Simulator?

Yes, you can simulate push notifications and location changes on an iOS Simulator by executing targeted simctl commands to test app behavior without physical devices.

How do I capture screenshots and stream logs from an iOS Simulator?

Capture screenshots and stream logs from an iOS Simulator using simctl commands, which support video capture and os_log filtering for debugging sessions.

Does this approach support deep link testing and privacy permission control?

Yes, simctl supports deep link testing via openurl and privacy permission control, allowing you to automate app install, launch, and manage device permissions.

How do I ensure my code only runs on the simulator and not physical devices?

Use compile-time simulator checks with #if targetEnvironment(simulator) to create safe, simulator-aware code paths that prevent execution on physical devices.