simulator-management

Coordinate iOS simulator lifecycle with xcrun simctl commands in CI/CD pipelines.

Updated Oct 1, 2025
One-click install
npx skills add https://github.com/chmc/listall --skill simulator-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simulator-management
Source: https://github.com/chmc/listall/tree/main/.claude/skills/simulator-management
Command: npx skills add https://github.com/chmc/listall --skill simulator-management

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates and stabilizes iOS simulator lifecycles within CI/CD pipelines, reducing flaky test runs and manual maintenance.

Core Features & Use Cases

  • Pre-flight cleanup of unavailable or duplicated simulators to ensure clean test environments.
  • Let Fastlane or CI tools manage boot and shutdown on demand to avoid race conditions.
  • Patterns for identifying and recreating required simulators to guarantee reproducible results.

Quick Start

Run the pre-flight cleanup and let automated boot and cleanup steps manage the simulator lifecycle in CI.

Frequently Asked Questions about simulator-management

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

FAQPage Schema
How do I automate iOS simulator cleanup to fix flaky CI/CD test runs?

Automating iOS simulator cleanup removes unavailable or duplicated simulators before tests run, stabilizing CI/CD pipelines. This skill coordinates pre-flight cleanup and boot-on-demand patterns using xcrun simctl commands to guarantee reproducible test environments and reduce manual maintenance.

How does xcrun simctl manage the iOS simulator lifecycle in automated pipelines?

Xcrun simctl manages the iOS simulator lifecycle through command-line operations for booting, shutting down, and deleting simulators. This skill enforces non-destructive defaults while providing patterns for pre-flight cleanup, boot-on-demand, and safe deletion to prevent race conditions in CI.

Can I use this simulator management approach with Fastlane in CI pipelines?

Yes, this simulator management approach integrates with Fastlane by letting CI tools manage boot and shutdown on demand. It coordinates the simulator lifecycle to avoid race conditions, allowing Fastlane to trigger automated boot and cleanup steps during the testing workflow.

What is the best way to handle duplicate iOS simulators before running Xcode tests?

The best way to handle duplicate iOS simulators is running a pre-flight cleanup that safely identifies and removes unavailable or duplicated devices. This skill provides patterns for recreating required simulators, ensuring reproducible results and clean test environments for Xcode-based projects.

Why does my iOS simulator test environment fail to reproduce results across CI runs?

iOS simulator test environments fail to reproduce results when unavailable or duplicated simulators cause race conditions during boot. This skill solves the problem by enforcing non-destructive defaults, automating pre-flight cleanup, and booting simulators on demand to stabilize CI runs.

What are the limitations of using non-destructive defaults for iOS simulator management?

Non-destructive defaults for iOS simulator management prevent accidental data loss but require explicit patterns for safe deletion and recreation. This skill relies on xcrun simctl commands, meaning it is limited to macOS environments running Xcode-based projects within CI/CD pipelines.