Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit 022c469

Browse files
author
lizhuoli
committed
Bumped the dependency to SVGKit to 3.0+
1 parent 9340cfb commit 022c469

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
github "SDWebImage/SDWebImage" ~> 5.10
2-
github "SVGKit/SVGKit" >= 2.1
2+
github "SVGKit/SVGKit" ~> 3.0

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,16 @@ it, simply add the following line to your Podfile:
3636
pod 'SDWebImageSVGKitPlugin'
3737
```
3838

39-
Note: The [SVGKit](https://github.com/SVGKit/SVGKit) dependency seems does not follow sem-version and didn't not release versions frequently. You can manually specify a branch or CID dependency for it. Like below:
39+
#### Swift Package Manager (Xcode 11+)
4040

41-
```
42-
pod 'SVGKit', :git => 'https://github.com/SVGKit/SVGKit.git', :branch => '3.x'
41+
SDWebImagePhotosPlugin is available through [Swift Package Manager](https://swift.org/package-manager).
42+
43+
```swift
44+
let package = Package(
45+
dependencies: [
46+
.package(url: "https://github.com/SDWebImage/SDWebImageSVGKitPlugin.git", from: "1.4")
47+
]
48+
)
4349
```
4450

4551
#### Carthage

SDWebImageSVGKitPlugin.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ TODO: Add long description of the pod here.
3434
s.module_map = 'SDWebImageSVGKitPlugin/Module/SDWebImageSVGKitPlugin.modulemap'
3535

3636
s.dependency 'SDWebImage/Core', '~> 5.10'
37-
s.dependency 'SVGKit', '>= 2.1'
37+
s.dependency 'SVGKit', '~> 3.0'
3838
end

0 commit comments

Comments
 (0)