Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent
Your AI agent can handle all the infrastructure work that usually means switching to Terminal and remembering obscure simctl flags. Simulators, runtimes, devices, Swift packages, cleaning, project setup - just describe what you need and the agent takes care of it.
Simulators
List available simulators
What simulators do I have installed? Which ones are booted?
The agent will list all installed simulators with their names, OS versions, and current state (booted, shutdown). It highlights which ones are currently running.
Create a simulator
Create an iPhone 16 Pro Max simulator with iOS 18.
The agent will check if the iOS 18 runtime is installed, create the simulator with the correct device type and runtime pairing, and report the new simulator’s name and UDID.
Boot and open a simulator
Boot my iPhone 16 simulator and open the Simulator app so I can see it.
The agent will boot the simulator and launch the Simulator.app window so you can watch what’s happening on screen.
Shut down simulators
Shut down all running simulators.
The agent will find all booted simulators and shut them down. This frees up system resources when you’re done testing.
Delete old simulators
Delete all simulators running iOS 16 or older. Keep everything else.
The agent will list simulators, identify the ones matching your criteria, confirm what it plans to delete, and remove them. This frees up disk space from simulators you no longer need.
Prune stale simulators
Clean up simulators I haven't used recently.
The agent will identify and remove simulators that have never been booted, have not been booted in 90+ days, or are unavailable because their runtime is no longer installed.
Reset a simulator to clean state
Erase my iPhone 16 simulator so it's like a fresh install.
The agent will erase all content and settings from the simulator, returning it to its factory state. Useful for testing first-launch experiences or onboarding flows.
Clone a simulator
Clone my iPhone 16 Pro simulator and name it "iPhone 16 Pro - QA".
The agent will duplicate the existing simulator with all its settings, installed apps, and data. Cloning is faster than creating from scratch when you need an identical copy of a configured environment.
Rename a simulator
Rename my iPhone 16 simulator to "iPhone 16 - CI".
The agent will rename the existing simulator in place. The UDID stays the same, so saved destinations and scripts that target that device keep working. Only the display name in flowdeck simulator list and the Simulators & Runtimes window changes.
Set up multiple simulators
I want to test on both iPhone SE and iPhone 16 Pro Max at the same time.Make sure both exist and are booted.
The agent will check if both simulators exist, create any that are missing, and boot both so you can run your app on either one.
Set simulator location
Set my simulator's location to San Francisco.
The agent will set the GPS coordinates on the simulator. Useful for testing location-based features without physically being there.
Add media to a simulator
Add this photo to my simulator's camera roll.
The agent will push the image file to the simulator’s photo library so you can test image picker flows and photo-related features.
Runtimes
List installed runtimes
What iOS runtimes do I have installed?
The agent will list all installed simulator runtimes with their version numbers and disk usage.
Check available runtimes
What iOS runtimes can I download?
The agent will check Apple’s available runtimes and show you which versions you can install, including beta releases if available.
Install a new runtime
Install the iOS 17.5 runtime.
The agent will download and install the runtime. This can take a while depending on your internet connection, since runtimes are several gigabytes.
Install a runtime and create a simulator
I need to test on iOS 17. Install the latest iOS 17 runtimeand create an iPhone 15 simulator with it.
The agent will install the runtime, wait for it to complete, then create a new simulator paired with that runtime. You’ll be ready to build and run on it immediately.
Remove old runtimes
Delete the iOS 16 runtime to free up disk space.
The agent will check for simulators that depend on the runtime, remove or prune them first if needed, then delete the runtime itself.
List available device types
What device types can I create simulators for?
The agent will list all available device types (iPhone models, iPad models, Apple Watch, Apple TV, etc.) that you can pair with your installed runtimes.
Physical devices
List connected devices
What devices are connected to my Mac?
The agent will list all connected physical devices with their names, model identifiers, OS versions, and connection state.
Install an app on a device
Install the built app on my connected iPhone.
The agent will find the built .app bundle and install it on your connected device.
Uninstall an app from a device
Uninstall MyApp from my connected iPhone.
The agent will remove the app from the device by its bundle identifier.
Cleaning
Clean build artifacts
Clean the build.
The agent will clean the scheme’s build artifacts from derived data. This is the standard clean that matches Xcode’s “Clean Build Folder” behavior.
Deep clean everything
Clean everything - build artifacts, caches, all of it.
The agent will clean scheme artifacts, FlowDeck’s derived data, and Xcode’s module and build caches. This is the nuclear option for when incremental builds are acting up.
Clean and rebuild
Clean the build and rebuild from scratch.
The agent will clean all artifacts first, then perform a fresh build. This solves stale cache issues and ensures a clean starting point.
Clear simulator caches
Clear my simulator caches.
The agent will clear cached data from simulators, which can fix issues with stale resources or unexpected behavior after updates.
Swift packages
List installed packages
What Swift packages does this project use?
The agent will list all Swift Package Manager dependencies in the project with their names and resolved versions.
Add a package
Add the Alamofire package to my project.
The agent will add the package dependency to your project with the appropriate version constraints.
Remove a package
Remove the unused SnapKit package from my project.
The agent will remove the package dependency from your project.
Resolve packages
Resolve my Swift packages.
The agent will run SPM package resolution, downloading any missing dependencies and updating the package graph.
Update all packages
Update all my Swift packages to their latest compatible versions.
The agent will update every package dependency to the newest version allowed by your version constraints. It reports which packages were updated and to what versions.
Fix package resolution issues
My packages won't resolve. It keeps failing with a dependency conflict.Help me fix it.
The agent will try an escalating series of fixes: resolve, then update, then clear the package cache, then clean and retry. If there’s a version conflict, it will read your Package.swift or .xcodeproj to understand the constraints and suggest how to resolve the conflict.
Clear package cache
Clear my Swift package cache. Something seems corrupted.
The agent will clear the local package cache and re-resolve from scratch. This fixes most “weird” package issues caused by corrupted downloads or stale caches.
Link a package to a target
Link the Alamofire package product to my MyApp target.
The agent will link the specified package product to your build target so you can import and use it in your code.
App management
List running apps
What apps has FlowDeck launched? Are any still running?
The agent will list all apps tracked by FlowDeck, showing their app IDs, bundle identifiers, and current state.
Stop a running app
Stop the running app.
The agent will terminate the app that FlowDeck launched on the simulator or device.
Uninstall an app
Uninstall MyApp from the simulator.
The agent will remove the app from the target simulator by its app ID or bundle identifier.
Stream logs from a running app
Stream the logs from the running app. Flag any errors or warnings.
The agent will attach to the running app’s log stream, capturing real-time output including print() statements and OSLog messages, and flagging anything that looks like an error or unexpected behavior.
Project configuration
Discover the project
What workspaces, schemes, and build configurations does this project have?
The agent will inspect your project and give you a complete inventory: workspaces, schemes, build configurations (Debug, Release, etc.), available simulators, and connected devices.
Save a default configuration
Configure FlowDeck to use the MyApp scheme with iPhone 16 by default.
The agent will save these settings so all subsequent build, run, and test commands use them automatically. No more passing flags every time.
Reset configuration
Reset my FlowDeck configuration for this project.
The agent will clear the saved settings, so you can start fresh or reconfigure with different options.
Create a new Xcode project
Create a new iOS app project called WeatherApp.
The agent will generate a new Xcode project from a template with the specified name, ready to build and run.
Create a multi-platform project
Create a new app called MediaPlayer that targets iOS, tvOS, and watchOS.
The agent will create a project configured for all the specified platforms, with the correct deployment targets and build settings for each.
Create an iOS app with a watchOS companion
Create a new app called FitnessTracker with a companion watchOS app.
The agent will generate a project with an iOS app and a paired watchOS companion app that shares data and functionality.
Sync provisioning profiles
Sync my provisioning profiles for this project.
The agent will refresh the provisioning profiles from your developer account, resolving signing issues that come up after certificate or profile changes.
Licensing
Check license status
What's my FlowDeck license status?
The agent will check whether your license is active, what tier it is, and when it expires.
Activate a license
Activate my FlowDeck license with this key: XXXX-XXXX-XXXX
The agent will activate the license on your machine.
Tips for better results
Be specific about versions. “Install iOS 18” is clearer than “install the latest runtime”. The agent can figure it out either way, but explicit versions avoid surprises.
Ask the agent to clean up. Old simulators and runtimes eat disk space. Periodically ask “what simulators and runtimes do I have, and which ones can I safely delete?” to reclaim space.
Combine setup steps. “Install iOS 17, create an iPhone 15 simulator with it, and run my app on it” is a single prompt that handles the full setup chain.
Use deep clean sparingly. A regular clean is usually enough. The full clean (everything + caches) is slower because it forces a complete rebuild, but it’s the right tool when something feels genuinely broken.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FlowDeck","description":"Flow","colors":{"primary":"#FF4407","light":"#FF4407","dark":"#FF4407"},"logo":{"light":"https://mintcdn.com/flowdeck/1mH37I1K6jA8b08h/images/Logo-BW-WhiteBg.png?fit=max\u0026auto=format\u0026n=1mH37I1K6jA8b08h\u0026q=85\u0026s=6130dfa97a692bdca791c30dd99fa3d7","dark":"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026auto=format\u0026n=6S6jkBd92Tmy3vMU\u0026q=85\u0026s=ca136565995d3d4db6d47a24f9c0e11a","href":"https://flowdeck.studio"},"favicon":{"light":"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026auto=format\u0026n=6S6jkBd92Tmy3vMU\u0026q=85\u0026s=ca136565995d3d4db6d47a24f9c0e11a","dark":"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026auto=format\u0026n=6S6jkBd92Tmy3vMU\u0026q=85\u0026s=ca136565995d3d4db6d47a24f9c0e11a"},"api":{},"appearance":{"default":"dark"},"background":{"color":{"light":"#FFFFFF","dark":"#000000"}},"navbar":{"primary":{"type":"button","label":"Get FlowDeck","href":"https://flowdeck.studio/"}},"search":{"prompt":"Search FlowDeck docs..."},"seo":{"indexing":"navigable"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flowdeck","hasAudioNarration":false,"actualSubdomain":"flowdeck","customDomains":["docs.flowdeck.studio"],"gitSource":{"type":"github","owner":"flowdeck-dev","repo":"flowdeck","deployBranch":"stable","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6ad9380a8934a879d89251bf"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af997aef47e66462e369b1a","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"FlowDeck CLI","count":77},{"language":"default","tag":"Command Reference","count":40},{"language":"default","tag":"FlowDeck for Mac","count":25},{"language":"default","tag":"Simulator Commands","count":12},{"language":"default","tag":"Interactive Mode (TUI)","count":11},{"language":"default","tag":"Core Actions","count":10},{"language":"default","tag":"IDE Features","count":10},{"language":"default","tag":"Core Features","count":9},{"language":"default","tag":"FlowDeck for AI","count":6},{"language":"default","tag":"Advanced","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cli/ai-agents/infrastructure","slug":"/cli/ai-agents/infrastructure","pageMetadata":{"title":"Infrastructure with AI","description":"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent","href":"/cli/ai-agents/infrastructure"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Your AI agent can handle all the infrastructure work that usually means switching to Terminal and remembering obscure `,_jsx(_components.code,{children:`simctl`}),` flags. Simulators, runtimes, devices, Swift packages, cleaning, project setup - just describe what you need and the agent takes care of it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`simulators`,children:`Simulators`}),`\n`,_jsx(Heading,{level:`3`,id:`list-available-simulators`,children:`List available simulators`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What simulators do I have installed? Which ones are booted?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will list all installed simulators with their names, OS versions, and current state (booted, shutdown). It highlights which ones are currently running.`}),`\n`,_jsx(Heading,{level:`3`,id:`create-a-simulator`,children:`Create a simulator`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create an iPhone 16 Pro Max simulator with iOS 18.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will check if the iOS 18 runtime is installed, create the simulator with the correct device type and runtime pairing, and report the new simulator’s name and UDID.`}),`\n`,_jsx(Heading,{level:`3`,id:`boot-and-open-a-simulator`,children:`Boot and open a simulator`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Boot my iPhone 16 simulator and open the Simulator app so I can see it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will boot the simulator and launch the Simulator.app window so you can watch what’s happening on screen.`}),`\n`,_jsx(Heading,{level:`3`,id:`shut-down-simulators`,children:`Shut down simulators`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Shut down all running simulators.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will find all booted simulators and shut them down. This frees up system resources when you’re done testing.`}),`\n`,_jsx(Heading,{level:`3`,id:`delete-old-simulators`,children:`Delete old simulators`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Delete all simulators running iOS 16 or older. Keep everything else.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will list simulators, identify the ones matching your criteria, confirm what it plans to delete, and remove them. This frees up disk space from simulators you no longer need.`}),`\n`,_jsx(Heading,{level:`3`,id:`prune-stale-simulators`,children:`Prune stale simulators`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Clean up simulators I haven't used recently.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will identify and remove simulators that have never been booted, have not been booted in 90+ days, or are unavailable because their runtime is no longer installed.`}),`\n`,_jsx(Heading,{level:`3`,id:`reset-a-simulator-to-clean-state`,children:`Reset a simulator to clean state`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Erase my iPhone 16 simulator so it's like a fresh install.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will erase all content and settings from the simulator, returning it to its factory state. Useful for testing first-launch experiences or onboarding flows.`}),`\n`,_jsx(Heading,{level:`3`,id:`clone-a-simulator`,children:`Clone a simulator`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Clone my iPhone 16 Pro simulator and name it \"iPhone 16 Pro - QA\".`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will duplicate the existing simulator with all its settings, installed apps, and data. Cloning is faster than creating from scratch when you need an identical copy of a configured environment.`}),`\n`,_jsx(Heading,{level:`3`,id:`rename-a-simulator`,children:`Rename a simulator`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Rename my iPhone 16 simulator to \"iPhone 16 - CI\".`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The agent will rename the existing simulator in place. The UDID stays the same, so saved destinations and scripts that target that device keep working. Only the display name in `,_jsx(_components.code,{children:`flowdeck simulator list`}),` and the Simulators \u0026 Runtimes window changes.`]}),`\n`,_jsx(Heading,{level:`3`,id:`set-up-multiple-simulators`,children:`Set up multiple simulators`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`I want to test on both iPhone SE and iPhone 16 Pro Max at the same time.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Make sure both exist and are booted.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will check if both simulators exist, create any that are missing, and boot both so you can run your app on either one.`}),`\n`,_jsx(Heading,{level:`3`,id:`set-simulator-location`,children:`Set simulator location`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Set my simulator's location to San Francisco.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will set the GPS coordinates on the simulator. Useful for testing location-based features without physically being there.`}),`\n`,_jsx(Heading,{level:`3`,id:`add-media-to-a-simulator`,children:`Add media to a simulator`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Add this photo to my simulator's camera roll.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will push the image file to the simulator’s photo library so you can test image picker flows and photo-related features.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`runtimes`,children:`Runtimes`}),`\n`,_jsx(Heading,{level:`3`,id:`list-installed-runtimes`,children:`List installed runtimes`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What iOS runtimes do I have installed?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will list all installed simulator runtimes with their version numbers and disk usage.`}),`\n`,_jsx(Heading,{level:`3`,id:`check-available-runtimes`,children:`Check available runtimes`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What iOS runtimes can I download?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will check Apple’s available runtimes and show you which versions you can install, including beta releases if available.`}),`\n`,_jsx(Heading,{level:`3`,id:`install-a-new-runtime`,children:`Install a new runtime`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Install the iOS 17.5 runtime.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will download and install the runtime. This can take a while depending on your internet connection, since runtimes are several gigabytes.`}),`\n`,_jsx(Heading,{level:`3`,id:`install-a-runtime-and-create-a-simulator`,children:`Install a runtime and create a simulator`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`I need to test on iOS 17. Install the latest iOS 17 runtime`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`and create an iPhone 15 simulator with it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will install the runtime, wait for it to complete, then create a new simulator paired with that runtime. You’ll be ready to build and run on it immediately.`}),`\n`,_jsx(Heading,{level:`3`,id:`remove-old-runtimes`,children:`Remove old runtimes`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Delete the iOS 16 runtime to free up disk space.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will check for simulators that depend on the runtime, remove or prune them first if needed, then delete the runtime itself.`}),`\n`,_jsx(Heading,{level:`3`,id:`list-available-device-types`,children:`List available device types`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What device types can I create simulators for?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will list all available device types (iPhone models, iPad models, Apple Watch, Apple TV, etc.) that you can pair with your installed runtimes.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`physical-devices`,children:`Physical devices`}),`\n`,_jsx(Heading,{level:`3`,id:`list-connected-devices`,children:`List connected devices`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What devices are connected to my Mac?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will list all connected physical devices with their names, model identifiers, OS versions, and connection state.`}),`\n`,_jsx(Heading,{level:`3`,id:`install-an-app-on-a-device`,children:`Install an app on a device`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Install the built app on my connected iPhone.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will find the built .app bundle and install it on your connected device.`}),`\n`,_jsx(Heading,{level:`3`,id:`uninstall-an-app-from-a-device`,children:`Uninstall an app from a device`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Uninstall MyApp from my connected iPhone.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will remove the app from the device by its bundle identifier.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`cleaning`,children:`Cleaning`}),`\n`,_jsx(Heading,{level:`3`,id:`clean-build-artifacts`,children:`Clean build artifacts`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Clean the build.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will clean the scheme’s build artifacts from derived data. This is the standard clean that matches Xcode’s “Clean Build Folder” behavior.`}),`\n`,_jsx(Heading,{level:`3`,id:`deep-clean-everything`,children:`Deep clean everything`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Clean everything - build artifacts, caches, all of it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will clean scheme artifacts, FlowDeck’s derived data, and Xcode’s module and build caches. This is the nuclear option for when incremental builds are acting up.`}),`\n`,_jsx(Heading,{level:`3`,id:`clean-and-rebuild`,children:`Clean and rebuild`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Clean the build and rebuild from scratch.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will clean all artifacts first, then perform a fresh build. This solves stale cache issues and ensures a clean starting point.`}),`\n`,_jsx(Heading,{level:`3`,id:`clear-simulator-caches`,children:`Clear simulator caches`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Clear my simulator caches.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will clear cached data from simulators, which can fix issues with stale resources or unexpected behavior after updates.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`swift-packages`,children:`Swift packages`}),`\n`,_jsx(Heading,{level:`3`,id:`list-installed-packages`,children:`List installed packages`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What Swift packages does this project use?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will list all Swift Package Manager dependencies in the project with their names and resolved versions.`}),`\n`,_jsx(Heading,{level:`3`,id:`add-a-package`,children:`Add a package`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Add the Alamofire package to my project.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will add the package dependency to your project with the appropriate version constraints.`}),`\n`,_jsx(Heading,{level:`3`,id:`remove-a-package`,children:`Remove a package`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Remove the unused SnapKit package from my project.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will remove the package dependency from your project.`}),`\n`,_jsx(Heading,{level:`3`,id:`resolve-packages`,children:`Resolve packages`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Resolve my Swift packages.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will run SPM package resolution, downloading any missing dependencies and updating the package graph.`}),`\n`,_jsx(Heading,{level:`3`,id:`update-all-packages`,children:`Update all packages`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Update all my Swift packages to their latest compatible versions.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will update every package dependency to the newest version allowed by your version constraints. It reports which packages were updated and to what versions.`}),`\n`,_jsx(Heading,{level:`3`,id:`fix-package-resolution-issues`,children:`Fix package resolution issues`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`My packages won't resolve. It keeps failing with a dependency conflict.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Help me fix it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will try an escalating series of fixes: resolve, then update, then clear the package cache, then clean and retry. If there’s a version conflict, it will read your Package.swift or .xcodeproj to understand the constraints and suggest how to resolve the conflict.`}),`\n`,_jsx(Heading,{level:`3`,id:`clear-package-cache`,children:`Clear package cache`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Clear my Swift package cache. Something seems corrupted.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will clear the local package cache and re-resolve from scratch. This fixes most “weird” package issues caused by corrupted downloads or stale caches.`}),`\n`,_jsx(Heading,{level:`3`,id:`link-a-package-to-a-target`,children:`Link a package to a target`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Link the Alamofire package product to my MyApp target.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will link the specified package product to your build target so you can import and use it in your code.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`app-management`,children:`App management`}),`\n`,_jsx(Heading,{level:`3`,id:`list-running-apps`,children:`List running apps`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What apps has FlowDeck launched? Are any still running?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will list all apps tracked by FlowDeck, showing their app IDs, bundle identifiers, and current state.`}),`\n`,_jsx(Heading,{level:`3`,id:`stop-a-running-app`,children:`Stop a running app`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Stop the running app.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will terminate the app that FlowDeck launched on the simulator or device.`}),`\n`,_jsx(Heading,{level:`3`,id:`uninstall-an-app`,children:`Uninstall an app`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Uninstall MyApp from the simulator.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will remove the app from the target simulator by its app ID or bundle identifier.`}),`\n`,_jsx(Heading,{level:`3`,id:`stream-logs-from-a-running-app`,children:`Stream logs from a running app`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Stream the logs from the running app. Flag any errors or warnings.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The agent will attach to the running app’s log stream, capturing real-time output including `,_jsx(_components.code,{children:`print()`}),` statements and OSLog messages, and flagging anything that looks like an error or unexpected behavior.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`project-configuration`,children:`Project configuration`}),`\n`,_jsx(Heading,{level:`3`,id:`discover-the-project`,children:`Discover the project`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What workspaces, schemes, and build configurations does this project have?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will inspect your project and give you a complete inventory: workspaces, schemes, build configurations (Debug, Release, etc.), available simulators, and connected devices.`}),`\n`,_jsx(Heading,{level:`3`,id:`save-a-default-configuration`,children:`Save a default configuration`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Configure FlowDeck to use the MyApp scheme with iPhone 16 by default.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will save these settings so all subsequent build, run, and test commands use them automatically. No more passing flags every time.`}),`\n`,_jsx(Heading,{level:`3`,id:`reset-configuration`,children:`Reset configuration`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Reset my FlowDeck configuration for this project.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will clear the saved settings, so you can start fresh or reconfigure with different options.`}),`\n`,_jsx(Heading,{level:`3`,id:`create-a-new-xcode-project`,children:`Create a new Xcode project`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create a new iOS app project called WeatherApp.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will generate a new Xcode project from a template with the specified name, ready to build and run.`}),`\n`,_jsx(Heading,{level:`3`,id:`create-a-multi-platform-project`,children:`Create a multi-platform project`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create a new app called MediaPlayer that targets iOS, tvOS, and watchOS.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will create a project configured for all the specified platforms, with the correct deployment targets and build settings for each.`}),`\n`,_jsx(Heading,{level:`3`,id:`create-an-ios-app-with-a-watchos-companion`,children:`Create an iOS app with a watchOS companion`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create a new app called FitnessTracker with a companion watchOS app.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will generate a project with an iOS app and a paired watchOS companion app that shares data and functionality.`}),`\n`,_jsx(Heading,{level:`3`,id:`sync-provisioning-profiles`,children:`Sync provisioning profiles`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Sync my provisioning profiles for this project.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will refresh the provisioning profiles from your developer account, resolving signing issues that come up after certificate or profile changes.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`licensing`,children:`Licensing`}),`\n`,_jsx(Heading,{level:`3`,id:`check-license-status`,children:`Check license status`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What's my FlowDeck license status?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will check whether your license is active, what tier it is, and when it expires.`}),`\n`,_jsx(Heading,{level:`3`,id:`activate-a-license`,children:`Activate a license`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Activate my FlowDeck license with this key: XXXX-XXXX-XXXX`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent will activate the license on your machine.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`tips-for-better-results`,children:`Tips for better results`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Be specific about versions.`}),` “Install iOS 18” is clearer than “install the latest runtime”. The agent can figure it out either way, but explicit versions avoid surprises.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Ask the agent to clean up.`}),` Old simulators and runtimes eat disk space. Periodically ask “what simulators and runtimes do I have, and which ones can I safely delete?” to reclaim space.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Combine setup steps.`}),` “Install iOS 17, create an iPhone 15 simulator with it, and run my app on it” is a single prompt that handles the full setup chain.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use deep clean sparingly.`}),` A regular `,_jsx(_components.code,{children:`clean`}),` is usually enough. The full clean (everything + caches) is slower because it forces a complete rebuild, but it’s the right tool when something feels genuinely broken.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Infrastructure with AI","description":"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent","href":"/cli/ai-agents/infrastructure"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Simulators","slug":"simulators","depth":2,"children":[{"title":"List available simulators","slug":"list-available-simulators","depth":3,"children":[]},{"title":"Create a simulator","slug":"create-a-simulator","depth":3,"children":[]},{"title":"Boot and open a simulator","slug":"boot-and-open-a-simulator","depth":3,"children":[]},{"title":"Shut down simulators","slug":"shut-down-simulators","depth":3,"children":[]},{"title":"Delete old simulators","slug":"delete-old-simulators","depth":3,"children":[]},{"title":"Prune stale simulators","slug":"prune-stale-simulators","depth":3,"children":[]},{"title":"Reset a simulator to clean state","slug":"reset-a-simulator-to-clean-state","depth":3,"children":[]},{"title":"Clone a simulator","slug":"clone-a-simulator","depth":3,"children":[]},{"title":"Rename a simulator","slug":"rename-a-simulator","depth":3,"children":[]},{"title":"Set up multiple simulators","slug":"set-up-multiple-simulators","depth":3,"children":[]},{"title":"Set simulator location","slug":"set-simulator-location","depth":3,"children":[]},{"title":"Add media to a simulator","slug":"add-media-to-a-simulator","depth":3,"children":[]}]},{"title":"Runtimes","slug":"runtimes","depth":2,"children":[{"title":"List installed runtimes","slug":"list-installed-runtimes","depth":3,"children":[]},{"title":"Check available runtimes","slug":"check-available-runtimes","depth":3,"children":[]},{"title":"Install a new runtime","slug":"install-a-new-runtime","depth":3,"children":[]},{"title":"Install a runtime and create a simulator","slug":"install-a-runtime-and-create-a-simulator","depth":3,"children":[]},{"title":"Remove old runtimes","slug":"remove-old-runtimes","depth":3,"children":[]},{"title":"List available device types","slug":"list-available-device-types","depth":3,"children":[]}]},{"title":"Physical devices","slug":"physical-devices","depth":2,"children":[{"title":"List connected devices","slug":"list-connected-devices","depth":3,"children":[]},{"title":"Install an app on a device","slug":"install-an-app-on-a-device","depth":3,"children":[]},{"title":"Uninstall an app from a device","slug":"uninstall-an-app-from-a-device","depth":3,"children":[]}]},{"title":"Cleaning","slug":"cleaning","depth":2,"children":[{"title":"Clean build artifacts","slug":"clean-build-artifacts","depth":3,"children":[]},{"title":"Deep clean everything","slug":"deep-clean-everything","depth":3,"children":[]},{"title":"Clean and rebuild","slug":"clean-and-rebuild","depth":3,"children":[]},{"title":"Clear simulator caches","slug":"clear-simulator-caches","depth":3,"children":[]}]},{"title":"Swift packages","slug":"swift-packages","depth":2,"children":[{"title":"List installed packages","slug":"list-installed-packages","depth":3,"children":[]},{"title":"Add a package","slug":"add-a-package","depth":3,"children":[]},{"title":"Remove a package","slug":"remove-a-package","depth":3,"children":[]},{"title":"Resolve packages","slug":"resolve-packages","depth":3,"children":[]},{"title":"Update all packages","slug":"update-all-packages","depth":3,"children":[]},{"title":"Fix package resolution issues","slug":"fix-package-resolution-issues","depth":3,"children":[]},{"title":"Clear package cache","slug":"clear-package-cache","depth":3,"children":[]},{"title":"Link a package to a target","slug":"link-a-package-to-a-target","depth":3,"children":[]}]},{"title":"App management","slug":"app-management","depth":2,"children":[{"title":"List running apps","slug":"list-running-apps","depth":3,"children":[]},{"title":"Stop a running app","slug":"stop-a-running-app","depth":3,"children":[]},{"title":"Uninstall an app","slug":"uninstall-an-app","depth":3,"children":[]},{"title":"Stream logs from a running app","slug":"stream-logs-from-a-running-app","depth":3,"children":[]}]},{"title":"Project configuration","slug":"project-configuration","depth":2,"children":[{"title":"Discover the project","slug":"discover-the-project","depth":3,"children":[]},{"title":"Save a default configuration","slug":"save-a-default-configuration","depth":3,"children":[]},{"title":"Reset configuration","slug":"reset-configuration","depth":3,"children":[]},{"title":"Create a new Xcode project","slug":"create-a-new-xcode-project","depth":3,"children":[]},{"title":"Create a multi-platform project","slug":"create-a-multi-platform-project","depth":3,"children":[]},{"title":"Create an iOS app with a watchOS companion","slug":"create-an-ios-app-with-a-watchos-companion","depth":3,"children":[]},{"title":"Sync provisioning profiles","slug":"sync-provisioning-profiles","depth":3,"children":[]}]},{"title":"Licensing","slug":"licensing","depth":2,"children":[{"title":"Check license status","slug":"check-license-status","depth":3,"children":[]},{"title":"Activate a license","slug":"activate-a-license","depth":3,"children":[]}]},{"title":"Tips for better results","slug":"tips-for-better-results","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"flowdeck","siteName":"FlowDeck","title":"Infrastructure with AI - FlowDeck","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-05T05:48:47.757Z","originalFileLocation":"cli/ai-agents/infrastructure.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent\">\u003cmeta data-mint-head name=\"application-name\" content=\"FlowDeck\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026amp;auto=format\u0026amp;n=6S6jkBd92Tmy3vMU\u0026amp;q=85\u0026amp;s=ca136565995d3d4db6d47a24f9c0e11a\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026amp;auto=format\u0026amp;n=6S6jkBd92Tmy3vMU\u0026amp;q=85\u0026amp;s=ca136565995d3d4db6d47a24f9c0e11a\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026amp;auto=format\u0026amp;n=6S6jkBd92Tmy3vMU\u0026amp;q=85\u0026amp;s=ca136565995d3d4db6d47a24f9c0e11a\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026amp;auto=format\u0026amp;n=6S6jkBd92Tmy3vMU\u0026amp;q=85\u0026amp;s=ca136565995d3d4db6d47a24f9c0e11a\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026amp;auto=format\u0026amp;n=6S6jkBd92Tmy3vMU\u0026amp;q=85\u0026amp;s=ca136565995d3d4db6d47a24f9c0e11a\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026amp;auto=format\u0026amp;n=6S6jkBd92Tmy3vMU\u0026amp;q=85\u0026amp;s=ca136565995d3d4db6d47a24f9c0e11a\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintcdn.com/flowdeck/6S6jkBd92Tmy3vMU/images/ProfilePictureDark.png?fit=max\u0026amp;auto=format\u0026amp;n=6S6jkBd92Tmy3vMU\u0026amp;q=85\u0026amp;s=ca136565995d3d4db6d47a24f9c0e11a\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Infrastructure with AI - FlowDeck\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FlowDeck\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flowdeck.mintlify.site/_mintlify/api/og/v2?division=FlowDeck+for+AI\u0026amp;title=Infrastructure+with+AI\u0026amp;description=Manage+simulators%2C+runtimes%2C+devices%2C+packages%2C+cleaning%2C+and+project+configuration+with+your+AI+agent\u0026amp;theme=5970922fb77fad282effb639\u0026amp;signature=b95df751ae8ca3899223f29247a080a1f1e6a0b07cc4bdbd5a549ac65aa4badf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Infrastructure with AI - FlowDeck\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flowdeck.mintlify.site/_mintlify/api/og/v2?division=FlowDeck+for+AI\u0026amp;title=Infrastructure+with+AI\u0026amp;description=Manage+simulators%2C+runtimes%2C+devices%2C+packages%2C+cleaning%2C+and+project+configuration+with+your+AI+agent\u0026amp;theme=5970922fb77fad282effb639\u0026amp;signature=b95df751ae8ca3899223f29247a080a1f1e6a0b07cc4bdbd5a549ac65aa4badf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/flowdeck/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FlowDeck\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4407\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/ai-agents/infrastructure.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flowdeck.studio/#organization\",\"name\":\"FlowDeck\",\"url\":\"https://docs.flowdeck.studio\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flowdeck/1mH37I1K6jA8b08h/images/Logo-BW-WhiteBg.png?fit=max\u0026auto=format\u0026n=1mH37I1K6jA8b08h\u0026q=85\u0026s=6130dfa97a692bdca791c30dd99fa3d7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flowdeck.studio#website\",\"name\":\"FlowDeck\",\"url\":\"https://docs.flowdeck.studio\",\"publisher\":{\"@id\":\"https://docs.flowdeck.studio/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure#webpage\",\"url\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure\",\"name\":\"Infrastructure with AI\",\"description\":\"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent\",\"dateModified\":\"2026-09-05T05:48:47.757Z\",\"isPartOf\":{\"@id\":\"https://docs.flowdeck.studio#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"FlowDeck for AI\",\"item\":\"https://docs.flowdeck.studio/cli/ai-agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Infrastructure with AI\",\"item\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure#article\",\"headline\":\"Infrastructure with AI\",\"name\":\"Infrastructure with AI\",\"description\":\"Manage simulators, runtimes, devices, packages, cleaning, and project configuration with your AI agent\",\"url\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flowdeck.studio/cli/ai-agents/infrastructure#webpage\"},\"dateModified\":\"2026-09-05T05:48:47.757Z\",\"publisher\":{\"@id\":\"https://docs.flowdeck.studio/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flowdeck.studio#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FlowDeck\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FlowDeck\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cli/ai-agents/infrastructure.md","siteName":"FlowDeck","nav":{"global":null,"tabs":[{"tab":"FlowDeck for Mac","pages":[{"title":"FlowDeck for Mac","href":"/macos/introduction"}]},{"tab":"FlowDeck CLI","groups":[{"group":"Overview","pages":[{"title":"What is FlowDeck CLI?","href":"/introduction"},{"title":"Installation","href":"/cli/install"},{"title":"Requirements","href":"/requirements"},{"title":"FlowDeck for Mac vs FlowDeck CLI","href":"/comparison"}]},{"group":"FlowDeck for AI","pages":[{"title":"Give Your Agent Eyes and Hands","href":"/cli/ai-agents"},{"title":"UI Automation with AI","href":"/cli/ai-agents/ui-automation"},{"title":"Design to Code with AI","href":"/cli/ai-agents/ui-implementation"},{"title":"Testing with AI","href":"/cli/ai-agents/testing"},{"title":"Building and Running with AI","description":"Build apps, stream logs, fix errors, and debug runtime issues with your AI agent","href":"/cli/ai-agents/building"},{"title":"Infrastructure with AI","href":"/cli/ai-agents/infrastructure"}]},{"group":"Interactive Mode (TUI)","pages":[{"title":"Introduction","description":"A terminal-based IDE experience for iOS/macOS development","href":"/cli/interactive"},{"title":"Working with Projects","href":"/cli/interactive/working-with-projects"},{"title":"Build, Run \u0026 Test","href":"/cli/interactive/build-run-test"},{"title":"Build Settings","href":"/cli/interactive/build-settings"},{"title":"Manage Devices and Simulators","href":"/cli/interactive/tools-settings/devices-simulators"},{"title":"Project Tools","href":"/cli/interactive/tools-settings/project-commands"},{"title":"Manage Swift Packages","href":"/cli/interactive/tools-settings/swift-packages"},{"title":"FlowDeck Settings","href":"/cli/interactive/tools-settings/flowdeck-settings"},{"title":"Support","href":"/cli/interactive/tools-settings/help-support"},{"title":"Troubleshooting","href":"/cli/interactive/help"},{"title":"Command Reference","href":"/cli/interactive/shortcuts"}]},{"group":"Core Features","pages":[{"title":"Create a Project","href":"/cli/create-project"},{"title":"Building \u0026 Running","href":"/cli/building"},{"title":"Testing","href":"/cli/testing"},{"title":"UI Automation","href":"/cli/ui-automation"},{"title":"macOS Automation","href":"/cli/macos-automation"},{"group":"Simulators \u0026 Devices","pages":[{"title":"Managing Simulators","href":"/cli/simulators"},{"title":"Runtimes","href":"/cli/simulators/runtimes"},{"title":"Devices","href":"/cli/devices"}]},{"title":"Log Streaming","href":"/cli/logging"}]},{"group":"Command Reference","pages":[{"title":"Command Overview","href":"/cli/commands/overview"},{"group":"Core Actions","pages":[{"title":"Config","href":"/cli/commands/config"},{"title":"Context","href":"/cli/commands/context"},{"title":"Build","href":"/cli/commands/build"},{"title":"Run","href":"/cli/commands/run"},{"title":"Test Commands","href":"/cli/commands/test"},{"title":"Clean","href":"/cli/commands/clean"},{"title":"Logs","href":"/cli/commands/logs"},{"title":"Stop","href":"/cli/commands/stop"},{"title":"Uninstall","href":"/cli/commands/uninstall"},{"title":"Apps","href":"/cli/commands/apps"},{"title":"Activity","href":"/cli/commands/activity"}]},{"group":"Project Tools","pages":[{"title":"Create Project","href":"/cli/commands/project/create"},{"title":"Generate Project","href":"/cli/commands/project/generate"},{"title":"Schemes","href":"/cli/commands/project/schemes"},{"title":"Build Configurations","href":"/cli/commands/project/configs"},{"title":"Swift Packages","href":"/cli/commands/project/packages"},{"title":"Provisioning Profiles","href":"/cli/commands/project/sync-profiles"}]},{"group":"App Store \u0026 TestFlight","pages":[{"title":"App Store Connect Account","href":"/cli/commands/ship/account"},{"title":"TestFlight","href":"/cli/commands/ship/testflight"}]},{"group":"Simulator Commands","pages":[{"title":"Listing","href":"/cli/commands/simulator/list"},{"title":"Lifecycle","href":"/cli/commands/simulator/lifecycle"},{"title":"Management","href":"/cli/commands/simulator/management"},{"title":"Runtimes","href":"/cli/commands/simulator/runtimes"},{"title":"Location","href":"/cli/commands/simulator/location"},{"title":"Media","href":"/cli/commands/simulator/media"},{"title":"Record","href":"/cli/commands/simulator/record"},{"title":"Frames","href":"/cli/commands/simulator/frames"},{"title":"Displays","href":"/cli/commands/simulator/displays"},{"title":"Orientation","href":"/cli/commands/simulator/orientation"},{"title":"Pose","href":"/cli/commands/simulator/pose"},{"title":"Hardware and Appearance","href":"/cli/commands/simulator/hardware"}]},{"title":"UI Automation","href":"/cli/commands/ui/automation"},{"title":"macOS UI Automation","href":"/cli/commands/ui/mac-automation"},{"title":"Device Commands","href":"/cli/commands/device"},{"title":"Apps","href":"/cli/commands/apps"},{"title":"AI Agent Skills","href":"/cli/commands/ai"},{"title":"License","href":"/cli/commands/license"},{"title":"Update","href":"/cli/commands/update"},{"title":"Analytics","href":"/cli/commands/analytics"},{"title":"MCP","href":"/cli/commands/mcp"}]},{"group":"Advanced","pages":[{"title":"Automation \u0026 Scripting","href":"/cli/automation"},{"title":"Dry-Run Previews","href":"/cli/dry-run"},{"title":"CI/CD Integration","href":"/cli/ci-cd"},{"title":"Xcodebuild Arguments","href":"/cli/xcodebuild-args"},{"title":"App Launch Settings","href":"/cli/app-launch-settings"},{"title":"Configuration File","href":"/cli/configuration-file"}]},{"group":"Support","pages":[{"title":"Getting Help","href":"/support"}]}]}]},"basePath":"","title":"Infrastructure with AI - FlowDeck","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":[],"chunks":[]}