Skip to content

Commit 547976b

Browse files
authored
Merge pull request #25 from cats-oss/fix-spm
Support Swift Package Manager v5.1
2 parents 9d9b097 + 5eff689 commit 547976b

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

Package.swift

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
// swift-tools-version:4.0
2-
// The swift-tools-version declares the minimum version of Swift required to build this package.
1+
// swift-tools-version:5.1
32

43
import PackageDescription
54
let package = Package(
65
name: "Sica",
6+
platforms: [
7+
.iOS(.v9),
8+
.macOS(.v10_10),
9+
.tvOS(.v10)
10+
],
711
products: [
812
.library(
913
name: "Sica",
@@ -14,5 +18,6 @@ let package = Package(
1418
name: "Sica",
1519
dependencies: [],
1620
path: "Sica/Source")
17-
]
21+
],
22+
swiftLanguageVersions: [.v4_2, .v5]
1823
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pod 'Sica'
6464
Sica is available through `SwiftPM`, create ` Package.swift` and add `dependencies` value
6565
```Package.swift
6666
dependencies: [
67-
.package(url: "https://github.com/cats-oss/Sica.git", from: "0.4.0")
67+
.package(url: "https://github.com/cats-oss/Sica.git", from: "0.4.1")
6868
]
6969
```
7070
See also: [GitHub - j-channings/swift-package-manager-ios: Example of how to use SPM v4 to manage iOS dependencies](https://github.com/j-channings/swift-package-manager-ios)

Sica.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = "Sica"
11-
s.version = "0.4.0"
11+
s.version = "0.4.1"
1212
s.summary = "Sica can execute various animations sequentially or parallely"
1313
s.homepage = "https://github.com/cats-oss/Sica"
1414
s.license = { :type => "MIT", :file => "LICENSE" }

Sica/Source/CALayer+Sica.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import Foundation
10+
import QuartzCore
1011

1112
private let _animatorAssociatedKey = UnsafeMutablePointer<UInt>.allocate(capacity: 1)
1213

Sica/Source/FillMode.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import Foundation
10+
import QuartzCore
1011

1112
public struct FillMode {
1213
#if swift(>=4.2)

0 commit comments

Comments
 (0)