# Xcode for Raycast

URL: https://www.raycast.com/SvenTiigi/xcode

> Open recent Xcode projects, manage simulators and runtimes, search Xcode releases, create Swift packages and playgrounds, and clear DerivedData.

- Install: raycast://extensions/SvenTiigi/xcode
- Author: [Sven Tiigi](https://www.raycast.com/SvenTiigi)
- Installs: 17,995
- Platforms: macOS
- Categories: Developer Tools, Applications, AI Extensions
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/886cbd73fe377ad1d8f0c17083e6cd4c96748a33/extensions/xcode/

## Commands

- **Show Recent Projects in Menu Bar**: View and open your recent Xcode Projects from the menu bar.
- **Search Recent Projects**: Search and open your recent Xcode Projects.
- **Show Swift Package Dependencies**: Show Swift Package Dependencies of a Xcode Project.
- **Show Recent Builds in Menu Bar**: View and open your recent builds from the menu bar.
- **Search Recent Builds**: Search recent builds which are installed in a Xcode Simulator.
- **List Apple Devices**: List Apple devices with their product name and device code name.
- **Manage Runtimes**: Manage your Xcode Runtimes.
- **Manage Simulators**: Manage your Xcode Simulators.
- **Search Xcode Releases**: Search, download and view the latest Xcode Releases.
- **Open Developer Documentation**: Open Apple Developer Documentation.
- **Add Swift Package**: Add a Swift Package from an URL to a Xcode Project.
- **Create Swift Package**: Create a new Swift Package and open it directly in Xcode.
- **Create Swift Playground**: Create a new Swift Playground and open it directly in Xcode.
- **Search Code Snippets**: Search user defined Xcode Code Snippets.
- **Create Code Snippet**: Create a new user defined Xcode Code Snippet.
- **Open URL in Simulator**: Open the given URL in Simulator.
- **Clear Derived Data**: Removes the ~/Library/Developer/Xcode/DerivedData directory.
- **Clear Swift Package Manager Cache**: Removes the ~/Library/Caches/org.swift.swiftpm directory.
- **Clear SwiftUI Previews Cache**: Removes the ~/Library/Developer/Xcode/UserData/Previews directory.
- **Delete Unsupported Simulators**: Deletes devices that are not supported by the current Xcode SDK.
- **Delete Unsupported Runtimes**: Deletes runtimes that are not supported by the current Xcode SDK.

## AI tools

- **Xcode Projects**: The recently opened Xcode Projects, Swift Packages, Xcode Workspaces or Swift Playgrounds.
- **Swift Package Dependencies**: The Swift Package dependencies of a Xcode Project, Xcode Workspace or Swift Package.
- **Xcode Simulators**: The installed Xcode Simulators.
- **Boot a Xcode Simulator**: Boots the Xcode Simulator by its udid.
- **Shutdown a Xcode Simulator**: Shutdowns the Xcode Simulator by its udid.
- **Restart a Xcode Simulator**: Restarts the Xcode Simulator by its udid.
- **Open a URL in a Xcode Simulator**: Opens a URL in a Xcode Simulator either a specific one identified by its udid or the currently booted one, if any.
- **Xcode Simulator Builds**: The builds / apps installed on a Xcode simulator.
- **Xcode Releases**: The releases of Xcode.
- **Add Swift Package**: Adds a Swift Package to an Xcode project (*.xcodeproj) or Xcode workspace (*.xcworkspace) using its HTTPS or SSH URL.
- **Clear Derived Data**: Clears the derived data directory.
- **Clear Swift Package Manager Cache**: Clears the Swift Package Manager cache directory.
- **Clear SwiftUI Previews Cache**: Clears the SwiftUI previews cache directory.
- **Open Path**: Opens a file path which either points to a file for example a Xcode Project (*.xcodeproj), Swift Package (Package.swift), Xcode Workspace (*.xcworkspace), Swift Playground (*.playground) or a directory.

## README

<p align="center">
    <img src="https://raw.githubusercontent.com/raycast/extensions/main/extensions/xcode/assets/icon.png" alt="Xcode icon" width="200px" />
</p>

<h1 align="center">Xcode Extension for Raycast</h1>

<p align="center">
    Search and open your recent Xcode Projects, manage your Simulators & Apps, 
    <br/>
    create Swift Packages & Playgrounds and quickly clear Xcode cache files.
</p>

![Search Recent Projects](https://github.com/raycast/extensions/raw/886cbd73fe377ad1d8f0c17083e6cd4c96748a33/extensions/xcode//metadata/xcode-1.png)

#### Simulator Viewer

Simulator launches respect the macOS default application for `devices://` links,
including third-party viewers. No additional Raycast preference is required.
If the link handler cannot be opened, the extension falls back to Apple's Device
Hub or Simulator on older Xcode versions.
