To add Medallia Digital's package dependency to your Xcode project, select File > Add Packages... Enter Package URL: https://github.com/medallia/Digital-iOS-SDK.
Note: You can also navigate to your target’s General pane, and in the “Frameworks, Libraries, and Embedded Content” section, click the + button, select Add Other, and choose Add Package Dependency.
Choose "Exact Version" in Dependency Rule and enter the Medallia Digital SDK version that you want to use (For example 4.0.2) then click 'Add Package'.