-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from mcostasilva/master
Add SPM Support
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// swift-tools-version:5.3 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Segment_Amplitude", | ||
platforms: [ | ||
.iOS(.v10), | ||
.tvOS(.v9), | ||
.macOS(.v10_10) | ||
], | ||
products: [ | ||
.library(name: "Segment_Amplitude", targets: ["Segment_Amplitude"]), | ||
], | ||
dependencies: [ | ||
.package(name: "Amplitude", url: "https://github.com/amplitude/Amplitude-iOS", .upToNextMinor(from: "8.3.1")), | ||
.package(name: "Segment", url: "https://github.com/segmentio/analytics-ios", .upToNextMinor(from: "4.1.4")) | ||
], | ||
targets: [ | ||
.target( | ||
name: "Segment_Amplitude", | ||
dependencies: ["Amplitude", "Segment"], | ||
path: "Pod", | ||
publicHeadersPath: "Classes"), | ||
] | ||
) |
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