-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SPM support, bump mac version to 10.13, ios version to 11
Unfortunately simd support is only available from iOS 11 and macOS 10.13
- Loading branch information
Showing
3 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ DerivedData | |
*.ipa | ||
*.xcuserstate | ||
.DS_Store | ||
contents.xcworkspacedata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// swift-tools-version:5.0 | ||
|
||
/** | ||
* DominantColor | ||
* Copyright (c) Indragie Karunaratne 2021 | ||
* See LICENSE file. | ||
*/ | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "DominantColor", | ||
platforms: [ | ||
.macOS(.v10_13), | ||
.iOS(.v11), | ||
.tvOS(.v11) | ||
], | ||
products: [ | ||
.library(name: "DominantColor", targets: ["DominantColor"]), | ||
.library(name: "DominantColor_Dynamic", type: .dynamic, targets: ["DominantColor"]), | ||
], | ||
targets: [ | ||
.target( | ||
name: "DominantColor", | ||
path: "DominantColor/Shared" | ||
), | ||
] | ||
) |