# Xcode for Raycast

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

> Search and open your recent Xcode Projects, manage your Simulators & Apps, view the latest Releases, search the Apple Developer Documentation and quickly clear Xcode cache files.

- Install: raycast://extensions/SvenTiigi/xcode
- Author: [Xvbw Vfflf](https://www.raycast.com/SvenTiigi)
- Installs: 2,048
- Categories: Developer Tools, Applications
- Updated: 2022-04-26
- Source: https://github.com/raycast/extensions/tree/bb0aeee24375a5d820c0c855d41d2fe336cb9709/extensions/xcode/

## Commands

- **Search Recent Projects**: Search and open your recent Xcode Projects
- **Installed Simulator Apps**: View the bundle and sandbox path of your Apps that are installed on a Xcode Simulator
- **Manage Simulators**: Manage your Xcode Simulators
- **Xcode Releases**: Search, download and view the latest Xcode Releases
- **Search Developer Documentation**: Search in Apple Developer Documentation
- **Add Swift Package**: Add a Swift Package from an URL to an opened 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
- **Clear Derived Data**: Removes the ~/Library/Developer/Xcode/DerivedData directory
- **Clear Swift Package Manager Cache**: Removes the ~/Library/Caches/org.swift.swiftpm/repositories directory
- **Delete Unsupported Simulators**: Deletes devices that are not supported by the current Xcode SDK.

## 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/>
    search the Apple Developer Documentation view the latest Releases and quickly clear Xcode cache files.
    <br/>
    <a href="https://www.raycast.com/SvenTiigi/xcode">
        View in Raycast Store
    </a>
</p>

#### Development

Open the project in your IDE of choice and install the dependencies via:

```bash
$ npm install
```

To run and test the Xcode extension locally:

```bash
$ npm run dev
```

#### Project structure

Inside the `/src` directory you will find the source files for this extension.

| Directory           | Description                                                 |
| ------------------- | ----------------------------------------------------------- |
| src/                | The Raycast commands                                        |
| src/models          | The model definition files                                  |
| src/services        | The services providing the core functionality for a command |
| src/shared          | Shared constants/functions                                  |
| src/user-interfaces | The user interface files such as Lists and List.Items       |
