Ranjithkumar
Ranjithkumar

Reputation: 18356

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

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?

Upvotes: 9

Views: 13748

Answers (1)

Andrew
Andrew

Reputation: 28539

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

Upvotes: 15

Related Questions