Skip to content

Commit

Permalink
Merge pull request #25 from cats-oss/fix-spm
Browse files Browse the repository at this point in the history
Support Swift Package Manager v5.1
  • Loading branch information
funzin authored Jan 26, 2020
2 parents 9d9b097 + 5eff689 commit 547976b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
11 changes: 8 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swift-tools-version:5.1

import PackageDescription
let package = Package(
name: "Sica",
platforms: [
.iOS(.v9),
.macOS(.v10_10),
.tvOS(.v10)
],
products: [
.library(
name: "Sica",
Expand All @@ -14,5 +18,6 @@ let package = Package(
name: "Sica",
dependencies: [],
path: "Sica/Source")
]
],
swiftLanguageVersions: [.v4_2, .v5]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pod 'Sica'
Sica is available through `SwiftPM`, create ` Package.swift` and add `dependencies` value
```Package.swift
dependencies: [
.package(url: "https://github.com/cats-oss/Sica.git", from: "0.4.0")
.package(url: "https://github.com/cats-oss/Sica.git", from: "0.4.1")
]
```
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)
Expand Down
2 changes: 1 addition & 1 deletion Sica.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "Sica"
s.version = "0.4.0"
s.version = "0.4.1"
s.summary = "Sica can execute various animations sequentially or parallely"
s.homepage = "https://github.com/cats-oss/Sica"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
1 change: 1 addition & 0 deletions Sica/Source/CALayer+Sica.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import QuartzCore

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

Expand Down
1 change: 1 addition & 0 deletions Sica/Source/FillMode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import QuartzCore

public struct FillMode {
#if swift(>=4.2)
Expand Down

0 comments on commit 547976b

Please sign in to comment.