简体   繁体   中英

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

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:

在此处输入图像描述

If I change here it nothing reflects.

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

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 .

在此处输入图像描述

Then insert the exact version that you wish to use.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM