Add packages to your project with Swift PM
Here's how to add a package to your project with SwiftPM.
environment
- MacBook Pro (Retina, 15-inch, Mid 2015)
- macOS Catalina 10.15.7
- Xcode 12.0
procedure
1. In Xcode, go to [File]-[Swift Package]-[Add Package Dependency]
2. Enter the Swift Package repository name (PromiseKit in this case) and press [Next]
After that, you can add it by following the instructions.
that's all.