The Swift Package Index logo.Swift Package Index

Try Packages in a Swift Playground

What’s the best way to know whether a package is right for your project? Try it in a Swift Playground! Download the Swift Package Index Playgrounds app for macOS and generate playground files with the dependency already inserted, ready to open with Xcode.

Download Requires macOS 13 or newer

Once downloaded and installed, click “Try in a Playground” from any package page on the Swift Package Index to open a Swift playground in Xcode with the package imported, ready for experimentation and testing.

Trying packages on older macOS versions

The latest version of “Swift Package Index Playgrounds” requires macOS 13 or newer. If you are on an earlier version of macOS, version 1.0.1 of the app is still available for download.