AudioKit is an audio synthesis, processing, and analysis platform for iOS, macOS (including Catalyst), and tvOS.
Installation
In Xcode 13:
You can add AudioKit and any of the other AudioKit libraries using Collections
Select File -> Add Packages...
Click the + icon on the bottom left of the Collections sidebar on the left.
Choose Add Swift Package Collection from the pop-up menu.
In the Add Package Collection dialog box, enter https://swiftpackageindex.com/AudioKit/collection.json as the URL and click the "Load" button.
It will warn you that the collection is not signed, but it is fine, click "Add Unsigned Collection".
Now you can add any of the AudioKit Swift Packages you need and read about what they do, right from within Xcode.
In Xcode 11 & 12:
To add AudioKit to your Xcode project
Select File -> Swift Packages -> Add Package Dependency.
Enter https://github.com/AudioKit/AudioKit for the URL. You can define which version range you want, or which branch to use, or even which exact commit you would like use.
Documentation
You can generate the documentation in XCode13+ by pulling down the Product menu and choosing "Build Documentation". It also appears on the AudioKit.io Web Site and the Github wiki.
Examples
The AudioKit Cookbook contains many recipes for simple uses for AudioKit components.
请发表评论