Select File -> Swift Packages -> Add Package Dependency and enter https://github.com/pushtechnology/diffusion-swift.
You can add Diffusion as a package dependency in your Package.swift file:
letpackage=Package(
//...
dependencies:[.package(
name:"Diffusion",
url:"https://github.com/pushtechnology/diffusion-swift",.exact("6.12.2")),],
//...
)Then simply import Diffusion wherever you’d like to use it.
- Xcode 15.1+
