Go to the root of your Swift UI project where you want to add the SDWebImageWebPCoder package.
Right click it and select Add Packages menu.
![](https://studyraft.com/wp-content/uploads/2022/09/image-69-735x1024.png)
Enter the following Url for SDWebImageWebPCoder package in the input box:
https://github.com/SDWebImage/SDWebImageWebPCoder.git
![](https://studyraft.com/wp-content/uploads/2022/09/image-73-1024x599.png)
Click the Add Package button. On the next screen, choose the target where you want to add the package and click the Add Package button.
![](https://studyraft.com/wp-content/uploads/2022/09/image-74-1024x454.png)
After completing the above steps you will see the SDWebImageWebPCoder package in the Project Hierarchy under Package Dependecies section.
![](https://studyraft.com/wp-content/uploads/2022/09/image-75.png)
We are done with adding SDWebImageWebPCoder package to your SwiftUI project