Get started
This is a five-minute walkthrough: install the extension, open an Xcode project, and run your app on a
Build & Run
Build and run your iOS app on a simulator or device directly from the VSCode sidebar. SweetPad drives xcodebuild
Debugging
SweetPad integrates with the CodeLLDB
Hot reload
Hot reload lets you change Swift code and see the result in your running app
Tests
SweetPad wires Swift test targets into VSCode's native Testing UI, so XCTest and Swift Testing tests behave like any
Format code
SweetPad formats Swift files in VSCode using swift-format by default —
Autocomplete
SweetPad wires Xcode's build information into SourceKit-LSP so you get
Destinations
In SweetPad, a destination is anywhere you can run your app — a specific simulator or a connected device. Under
iOS Simulators
Boot, stop, and reset iOS Simulators directly from the VSCode sidebar. SweetPad drives xcrun simctl — the same tool
watchOS Simulators
watchOS Simulators show up in the Destinations view alongside iOS Simulators and behave the same way — boot,
iOS Devices
SweetPad runs and debugs your app on physical iPhones and iPads, with on-device log streaming and full LLDB
Tools
The Tools panel in the SweetPad sidebar lists the third-party CLI tools SweetPad integrates with, installs them
Tuist
Tuist lets you define your Xcode project declaratively instead of editing it through Xcode's UI.
XcodeGen
XcodeGen generates your .xcodeproj from a YAML manifest
Git Worktrees
If you keep multiple branches of the same Xcode project checked out side by side via
Settings reference
Every setting the SweetPad extension reads, in one place. Put them in .vscode/settings.json to keep
Commands reference
Everything SweetPad can do is exposed as a command. Open the command palette (⌘⇧P), type "sweetpad",
Troubleshooting
See logs