Contents

adammcarter/swift-helper

A package to help build and manage local Swift development

πŸš€ Installation

[!IMPORTANT] This tool assumes you are running on a Mac with an Apple Silicon chip (M1, M2 etc.)

Run this command to check your Mac is running on Apple Silicon, if it prints arm, you're good to go.

uname -p

Install the swift-helper tool:

source <(curl -sL https://raw.githubusercontent.com/adammcarter/swifthelper/main/install.sh)

πŸ’» Usage

Preflight: Clone the Swift repo

[!WARNING] Skip this step if you've already cloned the Swift repo.

[!IMPORTANT] Clones in to your current working directory.

swift-helper clone

1. Setup your environment

swift-helper doctor

2. Build your toolchain

swift-helper build

3. Activate in Xcode Select Swift Local from the Xcode > Toolchains menu.

<img width="500" alt="Xcode, Toolchains menu" src="https://github.com/user-attachments/assets/b7aa8ce6-a578-4fd3-a207-9a450ed68cb3" />

Package Metadata

Repository: adammcarter/swift-helper

Stars: 1

Forks: 0

Open issues: 0

Default branch: main

Primary language: swift

README: README.md