How to change the version of library in Swift Package Manager?

Viewed 3787

I am newbie for iOS development.

I used some libraries in my swiftUI project with help of Swift Package Manager.

But I want to use some previous version of one library.

What I am tried:

enter image description here

If I change here it nothing reflects.

Can anyone suggest how to change the version of particular library?

1 Answers

You can use an exact version of the package that you want.

Just select the drop down beside Up to next major and choose Exact.

enter image description here

Then insert the exact version that you wish to use.

enter image description here

Related