Add packages to your project with Swift PM

Here's how to add a package to your project with SwiftPM.



1. In Xcode, go to [File]-[Swift Package]-[Add Package Dependency]

スクリーンショット 2020-11-15 15.12.30.png

2. Enter the Swift Package repository name (PromiseKit in this case) and press [Next]

スクリーンショット 2020-11-15 15.13.48.png

After that, you can add it by following the instructions.

that's all.

Recommended Posts

Add packages to your project with Swift PM
Add a local Swift Package to your project with Swift PM
[Swift 5] Note: Add Core Data to an existing project
[Swift] Easy to implement modal with PanModal
Add scripts to distributions created with gradle
Solves the problem that SwiftPM cannot cross the proxy and cannot add packages to the project
Add class only to specific elements with V-for
Introduce Kotlin to your existing Java Maven Project
Convert a string to a character-by-character array with swift
How to add sound in the app (swift)
How to give your image to someone with docker
Add your own authentication items with Spring Security
Add a project in any folder with Gradle
[Java] Article to add validation with Spring Boot 2.3.1.
How to implement UICollectionView in Swift with code only
[Swift] How to play songs from your music library
Add a subview to your animation layer using lottie-ios
Use Maven to add your favorite Java library to your environment.
Add an external jar file in your IntelliJ project.